/* RESET & NORMALIZATION */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #FAFAFA;
  color: #212A3A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #5F8D4E;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #212A3A;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.25em;
}
li + li {
  margin-top: 0.6em;
}
strong {
  font-weight: 600;
}

/* SCANDINAVIAN CLEAN - UTILITIES */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(33,42,58,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(33,42,58,0.06);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
  align-items: center;
  gap: 20px;
  background: #F6F6F2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33,42,58,0.02);
  margin-bottom: 20px;
  color: #212A3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.75rem; /* 44px */
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: #212A3A;
  line-height: 1.18;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem; /* 32px */
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #212A3A;
  margin-bottom: 6px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.35rem; /* 22px */
  font-weight: 600;
  color: #212A3A;
  margin-bottom: 4px;
  line-height: 1.28;
}
h4, .h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
}
p, ul, ol {
  font-size: 1rem;
  color: #343E4C;
}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #5F8D4E;
  margin: 0 0 12px 0;
  padding: 0 1em;
  border-left: 4px solid #EADCA6;
}

/* HEADER */
header {
  background: #F6F6F2;
  box-shadow: 0 1px 8px 0 rgba(33,42,58,0.045);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 44px;
  max-width: 160px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #212A3A;
  background: none;
  padding: 8px 14px;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EADCA6;
  color: #212A3A;
  outline: none;
}
.main-nav .cta-primary {
  background: #5F8D4E;
  color: #FFF;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(95,141,78,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #212A3A;
  color: #EADCA6;
  box-shadow: 0 4px 18px rgba(33,42,58,0.10);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #EADCA6;
  color: #212A3A;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 4px 12px;
  cursor: pointer;
  display: none;
  margin-left: 16px;
  transition: background 0.15s, color 0.15s;
  z-index: 2600;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #5F8D4E;
  color: #FFF;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF;
  box-shadow: 0 4px 32px rgba(33,42,58,0.10);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.6,0,0.4,1);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 0 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #EADCA6;
  color: #212A3A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  cursor: pointer;
  margin-bottom: 22px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #5F8D4E;
  color: #FFF;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #212A3A;
  background: none;
  padding: 14px 10px 14px 0;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EADCA6;
  color: #212A3A;
  outline: none;
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 941px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  background: #F6F6F2;
  padding: 48px 0 54px 0;
  margin-bottom: 50px;
  border-radius: 0 0 24px 24px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.25rem;
  color: #5F8D4E;
}

/* FEATURE SECTION */
.features {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(33,42,58,0.04);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: space-between;
}
.features .feature {
  background: #FAFAFA;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(33,42,58,0.04);
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 240px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.2s;
}
.features .feature:hover, .features .feature:focus {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 4px 16px 0 rgba(33,42,58,0.12);
}
.features .feature img {
  height: 36px;
  margin-bottom: 8px;
  filter: saturate(0.8) contrast(1.1);
}
.features .feature h3 {
  font-size: 1.1rem;
  color: #212A3A;
}
.features .feature p {
  color: #343E4C;
  font-size: 0.98rem;
}

/* ABOUT / SHORT CARDS */
.about-short,
.contact-teaser,
.about-team,
.contact-short,
.legal,
.artikel-list,
.motivation-list,
.habits-list,
.focus-list,
.balance-list,
.balance-tips,
.focus-intro,
.motivation-quotes,
.contact-details {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(33,42,58,0.03);
}

.about-short h2,
.contact-teaser h2,
.about-team h2,
.contact-short h2,
.legal h1,
.legal h2,
.artikel-list h2,
.habits-list h2,
.focus-list h2,
.balance-list h2,
.focus-intro h3,
.balance-tips h3,
.motivation-list h2,
.motivation-quotes blockquote,
.contact-details h2 {
  color: #212A3A;
}

/* TESTIMONIALS */
.testimonials {
  background: #F6F6F2;
  border-radius: 14px;
  margin-bottom: 50px;
  padding: 40px 20px;
  box-shadow: 0 2px 18px 0 rgba(33,42,58,0.04);
}
.testimonials h2 {
  color: #212A3A;
  font-size: 2rem;
}
.testimonial-card {
  border-left: 4px solid #5F8D4E;
  font-size: 1.06rem;
  background: #FFF;
  color: #212A3A;
  box-shadow: 0 1px 5px rgba(33,42,58,0.04);
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  color: #5F8D4E;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0;
}

/* ARTICLE & LIST FILTERS */
.artikel-filter-list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.artikel-filter-list li strong {
  color: #5F8D4E;
}

/* CONTACT DETAILS PAGE */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img {
  height: 19px;
  min-width: 16px;
}
.contact-details .text-section p {
  line-height: 1.7;
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: #F6F6F2;
  padding: 0 0 36px 0;
  margin-top: 40px;
}
footer .container {
  padding: 30px 20px 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #212A3A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5F8D4E;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  max-width: 330px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #343E4C;
}
.footer-contact img {
  height: 17px;
  min-width: 16px;
}

/* BUTTONS */
.cta-primary,
button.cta-primary {
  background: #5F8D4E;
  color: #FFF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 10px 34px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(95,141,78,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #212A3A;
  color: #EADCA6;
  box-shadow: 0 4px 16px rgba(33,42,58,0.13);
  outline: none;
}
.cta-secondary,
button.cta-secondary {
  background: #EADCA6;
  color: #212A3A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  padding: 9px 28px;
  margin-top: 10px;
  box-shadow: 0 1px 4px rgba(33,42,58,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #212A3A;
  color: #EADCA6;
  outline: none;
}
button, [type="button"], [type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  line-height: inherit;
  cursor: pointer;
  border: none;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF;
  color: #212A3A;
  border-top: 1px solid #EADCA6;
  box-shadow: 0 -2px 16px 0 rgba(33,42,58,0.11);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 20px 18px;
  gap: 18px;
  transition: transform 0.2s ease, opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 23px;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(33,42,58,0.05);
  margin: 0 2px;
  transition: background 0.18s, color 0.19s;
}
.cookie-accept {
  background: #5F8D4E;
  color: #FFF;
}
.cookie-accept:hover,.cookie-accept:focus {
  background: #212A3A;
  color: #EADCA6;
}
.cookie-reject {
  background: #EEEEEE;
  color: #212A3A;
}
.cookie-reject:hover,.cookie-reject:focus {
  background: #EADCA6;
  color: #212A3A;
}
.cookie-settings {
  background: #EADCA6;
  color: #212A3A;
}
.cookie-settings:hover,.cookie-settings:focus {
  background: #5F8D4E;
  color: #FFF;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,42,58,0.22);
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #FFF;
  border-radius: 17px;
  max-width: 430px;
  width: 93vw;
  padding: 28px 26px;
  box-shadow: 0 8px 40px rgba(33,42,58,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #EADCA6;
  color: #212A3A;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .modal-close:hover,.cookie-modal .modal-close:focus {
  background: #5F8D4E;
  color: #FFF;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.04rem;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #5F8D4E;
  border-radius: 4px;
}
.cookie-category .cookie-essential {
  color: #343E4C;
  font-weight: 500;
}
.cookie-category input[disabled] {
  opacity: 0.55;
}

/* VISUAL EFFECTS */
.card, .feature, .testimonial-card, .about-short, .contact-teaser, .contact-short, .legal, .artikel-list, .motivation-list, .motivation-quotes, .habits-list, .focus-list, .focus-intro, .balance-list, .balance-tips, .contact-details {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .about-short:hover, .legal:hover {
  box-shadow: 0 8px 36px 0 rgba(33,42,58,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* LIST STYLES */
ul, ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.4em;
}

/* Z-INDEX STRATA */
.mobile-menu,
.cookie-banner,
.cookie-modal {
  z-index: 2500;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1000px) {
  .footer-contact {
    max-width: 100%;
  }
}
@media (max-width: 780px) {
  .footer-nav {
    gap: 9px;
  }
  .content-wrapper, .features .feature-grid {
    gap: 16px;
  }
  .features .feature {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section,.about-short,.contact-teaser,.testimonials,.about-team,.contact-short,.legal,.artikel-list,.motivation-list,.motivation-quotes,.habits-list,.focus-list,.balance-list,.balance-tips,.focus-intro,.contact-details {
    padding: 28px 7px;
    margin-bottom: 34px;
    border-radius: 9px;
  }
  .hero {
    padding: 36px 0 30px 0;
    border-radius:0 0 13px 13px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.44rem;
  }
  .features .feature-grid {
    flex-direction: column;
    gap: 19px;
  }
  .features .feature {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 15px 9px;
  }
  .footer-contact {
    width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 19px;
  }
}
@media (max-width: 640px) {
  .content-wrapper {
    gap: 12px;
  }
  .features .feature h3 {
    font-size: 1rem;
  }
  .hero {
    padding: 18px 0 24px 0;
  }
  h1, .h1 {
    font-size: 1.35rem;
  }
  h2, .h2 {
    font-size: 1.13rem;
  }
  .cta-primary, .cta-secondary, button.cta-primary, button.cta-secondary {
    font-size: 0.98rem;
    padding: 8px 16px;
  }
}
/* FLEX LAYOUT/ALIGNMENT overrides (for CRITICAL rules) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* VISUAL MICRO-INTERACTIONS */
.cta-primary, .cta-secondary, button, .main-nav a, .mobile-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.18s, transform 0.12s;
}
.cta-primary:active, .main-nav a:active, .mobile-nav a:active {
  transform: scale(0.97);
}

/* SCROLLBAR (minimal style for Scandinavian clarity) */
::-webkit-scrollbar {
  width: 9px;
  background: #ECECEC;
}
::-webkit-scrollbar-thumb {
  background: #EADCA6;
  border-radius: 9px;
}

/* FOCUS ACCESSIBILITY */
a:focus-visible,
button:focus-visible,
.cta-primary:focus-visible,
.cta-secondary:focus-visible {
  outline: 2px dashed #5F8D4E;
  outline-offset: 2px;
}

/* HIDE FROM SCREEN ONLY */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
