/* =========================================================
   GeschmackSpuren Scandinavian Clean Style – style.css
   ========================================================= */
/* RESET & BASELINE (normalize + modern-reset + box-sizing) */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F3EFE9;
  color: #324163;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #324163;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5B700;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}
input, textarea, select {
  font-family: inherit;
  border-radius: 4px;
  outline: none;
  border: 1px solid #e5e5e5;
  padding: 8px 12px;
  background: #fff;
  color: #324163;
}

/* =========================
   BRAND COLORS & VARIABLES
   ========================= */
:root {
  --color-primary: #324163;
  --color-secondary: #F5B700;
  --color-accent: #F3EFE9;
  --color-white: #fff;
  --color-black: #142038;
  --color-grey-light: #e5e5e5;
  --color-grey-medium: #cdcdcd;
  --color-grey-dark: #888a96;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, .display, .hero h1 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 20px;
}
h2 {
  font-size: 1.625rem; /* 26px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem; /* 16px */
}
p, li, span, a, label, input, textarea {
  font-size: 1rem; /* 16px */
  font-family: 'Open Sans', Arial, sans-serif;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
.text-section p:last-child {
  margin-bottom: 0;
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEX LAYOUTS (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.07);
  background: #fff;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(50,65,99,0.14);
  transform: translateY(-3px);
}
.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: 12px;
  background: #fff;
  color: #324163;
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.07);
  min-width: 250px;
  flex: 0 1 360px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(50,65,99,0.12);
  transform: translateY(-2px);
}
.testimonial-card span {
  font-size: 0.98em;
  opacity: 0.7;
  font-family: 'Open Sans', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.07);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 350px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(50,65,99,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* Hero Section --------------------- */
.hero {
  background: linear-gradient(180deg,#f5f6f8 55%,rgba(243,239,233,0.7) 100%);
  padding: 56px 0 44px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  padding: 0 0 0 0;
}
.hero h1 {
  font-size: 2.5rem;
  max-width: 600px;
  color: #324163;
}
.hero p {
  font-size: 1.25rem;
  max-width: 440px;
  color: #324163;
  opacity: 0.88;
}

/* Features as Content Grid -------- */
.features .feature-grid, .features .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .feature-item img {
  width: 40px;
  height: 40px;
}

/* USP list & Icon Steps ----------- */
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 0;
}
.icon-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.icon-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.04);
  min-width: 180px;
}
.icon-steps img {
  width: 26px;
  height: 26px;
}

/* Contact Card/Section ----------- */
.contact .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact .text-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  color: #324163;
  opacity: 0.9;
}
.contact .text-section img {
  width: 25px;
  height: 25px;
}

/* Footer -------------------------- */
footer {
  background: #fff;
  padding: 34px 0 0 0;
  border-top: 1px solid #e5e5e5;
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #324163;
  font-size: 1em;
  opacity: 0.77;
  transition: opacity 0.18s, color 0.18s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  opacity: 1;
  color: #F5B700;
}
.newsletter-signup {
  background: #F3EFE9;
  border-radius: 14px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.06);
  max-width: 320px;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.social-media-links a img {
  width: 30px;
  height: 30px;
  filter: grayscale(0.3) brightness(1.1);
  opacity: 0.82;
  transition: filter 0.18s, opacity 0.18s;
}
.social-media-links a:hover img {
  filter: grayscale(0) brightness(1.2);
  opacity: 1;
}

/* Legal and Confirmation sections */
.legal, .confirmation {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.07);
}

/* =========================
   BUTTONS & CTAs
   ========================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: 0 2px 8px rgba(50,65,99,0.09);
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  margin-top: 10px;
  outline: 0;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #F5B700;
  color: #324163;
  box-shadow: 0 4px 16px rgba(245,183,0,0.08);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F5B700;
  color: #324163;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  margin-right: 10px;
  transition: background 0.17s, color 0.13s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #324163;
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #324163;
  border: 2px solid #F5B700;
  border-radius: 24px;
  padding: 10px 20px;
  font-weight: 600;
  font-family: 'Montserrat';
  transition: background 0.1s, color 0.1s, border-color 0.13s;
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: #F5B700;
  color: #324163;
  border-color: #F5B700;
}

/* =========================
   NAVIGATION & HEADER
   ========================= */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(50,65,99,0.045);
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}
header a img {
  width: 150px;
  height: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-left: 20px;
}
.main-nav a {
  color: #324163;
  font-size: 1rem;
  font-family: 'Open Sans';
  opacity: 0.92;
  font-weight: 500;
  transition: color 0.15s, opacity 0.15s;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F5B700;
  opacity: 1;
  border-bottom: 2px solid #F5B700;
}
header .btn-primary {
  margin-left: 28px;
}

/* Hamburger mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #324163;
  padding: 4px 18px;
  border-radius: 6px;
  border: none;
  margin-left: 15px;
  transition: background 0.11s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F3EFE9;
  color: #F5B700;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  z-index: 1400;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(50,65,99,0.95);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.72,.14,.29,.92);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 30px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2rem;
  color: #fff;
  padding: 8px 10px 6px 0;
  border: none;
  transition: color 0.13s;
  margin-bottom: 17px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F5B700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F5B700;
  color: #324163;
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

/* =========================
   RESPONSIVE LAYOUTS
   ========================= */
@media (max-width: 988px) {
  .features .feature-grid, .content-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .newsletter-signup {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .features .feature-grid, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 35px;
  }
  .feature-item, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .feature-item {
    padding: 18px 10px 16px;
  }
  .testimonials .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 525px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .footer .content-wrapper, footer .content-wrapper {
    gap: 14px;
  }
}

/* =========================
   COOKIE CONSENT BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fffbe6;
  color: #324163;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px 20px 20px;
  box-shadow: 0 -2px 30px rgba(50,65,99,0.085);
  z-index: 1900;
  border-top: 2px solid #F5B700;
  font-size: 1rem;
  animation: cookie-slide-up 0.8s cubic-bezier(.5,-0.13,.36,1.2);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-ghost {
  font-size: 0.98rem;
  padding: 8px 22px;
  min-width: 110px;
}

.cookie-banner__msg {
  flex: 1 1 200px;
  font-size: 1rem;
}
.cookie-banner__msg a {
  color: #324163;
  border-bottom: 1px solid #F5B700;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  transition: color 0.12s, border-color 0.12s;
}
.cookie-banner__msg a:hover,
.cookie-banner__msg a:focus {
  color: #F5B700;
  border-color: #324163;
}

@media (max-width: 580px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 17px 10px 17px 10px;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,65,99,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 16px;
  padding: 34px 28px 22px 28px;
  min-width: 290px;
  max-width: 95vw;
  box-shadow: 0 6px 38px rgba(50,65,99,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-pop 0.37s cubic-bezier(.55,1.4,.36,0.95);
}
@keyframes modal-pop {
  0% {transform: scale(0.90) translateY(40px); opacity: 0;}
  95% {transform: scale(1.03) translateY(-4px);}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cookie-modal__header h3 {
  font-size: 1.15rem;
  color: #324163;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #888a96;
  padding: 1px 7px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.11s, color 0.11s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #F5B700;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Cookie Switch/Toggle */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-toggle .toggle-input {
  appearance: none;
  width: 38px;
  height: 21px;
  background: #e9e7df;
  border-radius: 14px;
  position: relative;
  outline: 0;
  cursor: pointer;
  transition: background 0.14s;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.04);
}
.cookie-toggle .toggle-input:checked {
  background: #F5B700;
}
.cookie-toggle .toggle-input:disabled {
  background: #ddd3;
  cursor: not-allowed;
}
.cookie-toggle .toggle-input::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #c4c4c4a2;
  transition: left 0.16s cubic-bezier(.6,-0.1,.42,1.1), background 0.13s;
}
.cookie-toggle .toggle-input:checked::after {
  left: 18px;
  background: #fffbe4;
}
.cookie-toggle label {
  color: #324163;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle .toggle-input[disabled] + label {
  opacity: 0.58;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary,
.cookie-modal .btn-ghost {
  padding: 9px 22px;
  font-size: 1rem;
}
@media (max-width: 525px) {
  .cookie-modal__content {
    padding: 16px 4px 12px 5px;
    min-width: 0;
  }
}

/* =========================
   UTILITY/STANDARD ELEMENTS
   ========================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section ul {
  margin-bottom: 10px;
}
.text-section ul li {
  padding-left: 1em;
  position: relative;
}
.text-section ul li:before {
  content: '';
  display: none;
}
.icon-list {
  list-style: none;
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* OL hexagon number for steps - optional enhancement */
.icon-steps li::before {
  content: '';
  display: none;
}

/* Headings section spacing */
section h2 {
  margin-bottom: 20px;
  font-family: 'Montserrat';
}

/* Legal/Confirmation pages */
.legal h1, .confirmation h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.legal h2 {
  margin-top: 24px;
  font-size: 1.18rem;
}

/* =========================
   MISC MICRO-ANIMATIONS
   ========================= */
.btn-primary, .btn-secondary, .btn-ghost, .feature-item, .testimonial-card, .card {
  transition: box-shadow 0.17s cubic-bezier(.77,.2,.33,1), transform 0.15s cubic-bezier(.53,.09,.24,1.3), background 0.18s, color 0.18s;
}

/* =========================
   SCROLLBAR (subtle, for clean look)
   ========================= */
body {
  scrollbar-color: #F5B700 #f3efe9;
  scrollbar-width: thin;
}
body::-webkit-scrollbar {
  width: 7px;
  background: #f3efe9;
}
body::-webkit-scrollbar-thumb {
  background: #F5B700;
  border-radius: 10px;
}

/* =========================
   Additional Accessibility
   ========================= */
:focus {
  outline: 2px dashed #F5B700;
  outline-offset: 2px;
}

/* Selection style for Scandinavian readability */
::selection {
  background: #F5B700;
  color: #324163;
}

/* =========================
   FORM STYLES (if needed)
   ========================= */
input, textarea, select {
  border: 1px solid #cdcdcd;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #fdfdfc;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F5B700;
}

/* =========================
   FINAL LAYOUT: SPACING CHECK
   ========================= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container > *, .card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features .feature-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
}
.feature-item {
  gap: 15px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* Fallback font inclusion */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm459WxZqh7k.ttf') format('truetype');
  unicode-range: U+000-5FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.gstatic.com/s/opensans/v23/mem8YaGs126MiZpBA-UvWbX7.ttf') format('truetype');
  unicode-range: U+000-5FF;
}
