/*! RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #101926;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #17263e 0%, #143550 100%);
  color: #f3f8f2;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
main, section {
  width: 100%;
}
a {
  color: #57a773;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f3f8f2;
  text-shadow: 0 0 8px #57a773bb, 0 0 2px #f3f8f2cc;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #f3f8f2;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #57a773;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #f3f8f2;
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #f3f8f2;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li {
  color: #e2ede6;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #57a773;
  font-weight: 700;
}
small {
  font-size: 0.85rem;
  opacity: 0.82;
}

/* CONTAINERS AND LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #19273c;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px 0 #184e7722, 0 2px 8px #10192644;
  position: relative;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #57a77344, 0 2px 24px #10192633;
  transform: translateY(-2px) scale(1.02);
}
.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;
  padding: 20px;
  background: #f3f8f2;
  color: #14202a;
  border-radius: 18px;
  box-shadow: 0 2px 16px #184e7722, 0 1px 4px #10192622;
  margin-bottom: 28px;
  font-style: italic;
  min-width: 240px;
}
.testimonial-card p {
  color: #184e77;
  font-size: 1.14rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #39626c;
  font-size: 0.92rem;
  font-weight: 600;
  margin-left: 12px;
  opacity: 0.85;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #19273c;
  box-shadow: 0 2px 20px #184e7712;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #f3f8f2;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #57a773;
  color: #19273c;
  box-shadow: 0 0 6px #57a77399;
}
.primary-cta {
  background: #57a773;
  color: #19273c !important;
  font-weight: 700;
  box-shadow: 0 0 8px #57a77399;
  border-radius: 8px;
  padding: 10px 24px !important;
  font-size: 1.08rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.04em;
}
.primary-cta:hover, .primary-cta:focus {
  background: #f3f8f2;
  color: #184e77 !important;
  box-shadow: 0 0 16px #184e7788, 0 0 8px #b8e2cc22 inset;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION --------------------------- */
.mobile-menu-toggle {
  background: none;
  color: #57a773;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  display: none;
  z-index: 60;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #57a773;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #101926ee;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.85,0,0.28,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 16px;
  background: none;
  color: #f3f8f2;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 104;
  padding: 7px 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}
.mobile-nav a {
  color: #f3f8f2;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #57a773;
  color: #19273c;
}
@media (max-width: 1050px) {
  header nav {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  header nav {
    gap: 4px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO SECTION ------------------------------- */
.hero-section {
  background: linear-gradient(120deg, #184e77 30%, #57a773 100%);
  padding: 60px 0 48px 0;
  margin-bottom: 48px;
  color: #f3f8f2;
  box-shadow: 0 8px 32px 0 #10192642;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1 {
  color: #f3f8f2;
  font-size: 2.8rem;
  text-shadow: 0 0 12px #184e7799, 0 0 4px #57a773bb;
}
.hero-section p {
  color: #f3f8f2;
  font-size: 1.18rem;
  margin-bottom: 20px;
}
.hero-section .primary-cta {
  margin-top: 18px;
  font-size: 1.16rem;
}

/* FEATURE GRID ------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.feature {
  background: #184e77;
  border-radius: 16px;
  box-shadow: 0 2px 12px #184e7726;
  padding: 26px 24px 26px 24px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 200px;
  max-width: 280px;
  transition: box-shadow 0.2s, transform 0.13s;
  border: 1.5px solid #57a77344;
}
.feature:hover {
  box-shadow: 0 4px 24px 0 #57a77344, 0 0 8px #57a77399;
  transform: translateY(-2px) scale(1.03);
  border-color: #57a773aa;
}
.feature img {
  width: 56px;
  height: 56px;
}
.feature h3 {
  color: #f3f8f2;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature p {
  color: #e2ede6;
  font-size: 1rem;
}

/* ARTICLES LIST (PREVIEW & OVERVIEW) --------- */
.articles-list-preview,
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.articles-list-preview article,
.articles-list article {
  flex: 1 1 240px;
  background: #19273c;
  border-radius: 15px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px #14202a24;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.1s;
  border: 1px solid #184e7722;
}
.articles-list-preview article:hover,
.articles-list article:hover {
  box-shadow: 0 4px 20px #57a77333, 0 0 8px #184e77bb;
  border-color: #57a77366;
  transform: translateY(-2px) scale(1.02);
}
.articles-list-preview h3, .articles-list h3 {
  color: #57a773;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  margin-bottom: 7px;
}
.articles-list-preview p, .articles-list p {
  color: #e2ede6;
  font-size: 0.99rem;
}
.articles-list-preview a, .articles-list a {
  color: #57a773;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
  transition: color 0.2s;
}
.articles-list-preview a:hover, .articles-list a:hover {
  color: #f3f8f2;
  text-shadow: 0 0 6px #57a77388;
}

/* PAGINATION */
.pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pagination span {
  color: #f3f8f2;
  font-size: 1rem;
}
.pagination a {
  color: #57a773;
  background: #19273c;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.pagination a:hover {
  background: #57a773;
  color: #19273c;
}

/* FILTER CONTROLS --------------- */
.filter-controls {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: #14202a;
  border-radius: 8px;
  padding: 14px;
}
.filter-controls label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #e2ede6;
}
.filter-controls select, .filter-controls input[type='text'] {
  background: #19273c;
  color: #e2ede6;
  border: 1.5px solid #57a77355;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1rem;
  margin-right: 8px;
  transition: border 0.18s;
  outline: none;
}
.filter-controls select:focus, .filter-controls input[type='text']:focus {
  border: 1.5px solid #57a773;
}

/* TEXT SECTIONS ----------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.text-section ul {
  margin-bottom: 20px;
  color: #e2ede6;
}
.text-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section a {
  color: #57a773;
  text-decoration: underline;
}
.text-section a:hover {
  color: #f3f8f2;
}

/* ABOUT TEASER ------------------ */
.about-teaser {
  background: #14202a;
  border-radius: 16px;
  box-shadow: 0 2px 16px #184e7714;
  margin: 36px 0;
  padding: 36px 0;
}
.about-teaser h2 {
  color: #57a773;
  margin-bottom: 14px;
}
.about-teaser p {
  color: #e2ede6;
  margin-bottom: 14px;
}
.about-teaser a {
  background: none;
  color: #57a773;
  font-weight: 600;
  border-bottom: 2px solid #57a773;
  transition: color 0.2s, border-color 0.2s;
  padding: 5px 0;
}
.about-teaser a:hover {
  color: #f3f8f2;
  border-color: #f3f8f2;
}

/* CONTACT INFO ------------------ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 15px;
}
.contact-info p {
  color: #e2ede6;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 2px #f3f8f2)
          drop-shadow(0 0 8px #57a77355);
}
.contact-info a {
  color: #57a773;
}
.contact-info a:hover {
  color: #f3f8f2;
}

/* CONFIRMATION / THANK YOU ------ */
.confirmation-section {
  padding: 60px 0 80px 0;
  text-align: center;
  background: #19273c;
  border-radius: 24px;
  margin: 60px 0 20px 0;
  box-shadow: 0 2px 14px #184e7717;
}
.confirmation-section h1 {
  color: #57a773;
}
.confirmation-section .primary-cta {
  margin: 30px auto 0 auto;
  display: inline-block;
}

/* FOOTER ------------------------- */
footer {
  background: #101926;
  color: #f3f8f2;
  padding: 36px 0 18px 0;
  border-top: 2px solid #184e7722;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-menu a {
  color: #57a773;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #f3f8f2;
}
.brand-slogan {
  color: #b8e2cc;
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-align: center;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px #57a77388) brightness(1.14);
  transition: transform 0.15s, filter 0.18s;
}
.social-links a:hover img {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 0 14px #57a773cc) brightness(1.23);
}

/* COOKIE CONSENT BANNER --------- */
.cookie-banner {
  width: 100vw;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 200;
  background: #19273ce8;
  color: #f3f8f2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 24px;
  box-shadow: 0 -2px 18px #184e7733;
  gap: 20px;
  justify-content: center;
  animation: cookiefadein 0.85s cubic-bezier(0.32,0,0.68,1);
}
@keyframes cookiefadein {
  0% { bottom: -100px; opacity: 0; }
  100% { bottom: 0; opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #e2ede6;
  font-size: 1rem;
  flex: 1 1 220px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 11px 26px;
  font-weight: 600;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 1px 7px #184e7733;
}
.cookie-banner .cookie-accept {
  background: #57a773;
  color: #19273c;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #f3f8f2;
  color: #184e77;
}
.cookie-banner .cookie-reject {
  background: #184e77;
  color: #f3f8f2;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #143550;
  color: #57a773;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #57a773;
  border: 2px solid #57a773;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #57a773;
  color: #19273c;
}

/* COOKIE MODAL ------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  top:0; left:0; width:100vw; height:100vh;
  background: #101926cc;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodalfadein 0.34s cubic-bezier(0.18,0.8,0.51,1.03) forwards;
}
@keyframes cookiemodalfadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #19273c;
  color: #f3f8f2;
  padding: 36px 26px 26px 26px;
  border-radius: 18px;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 2px 20px #184e774a;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #57a773;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  color: #e2ede6;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #14202a;
  transition: background 0.2s;
  position: relative;
  margin-right: 7px;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #184e77;
  border-radius: 50%;
  transition: left 0.15s, background 0.2s;
}
.cookie-switch input:checked + span {
  left: 19px;
  background: #57a773;
}
.cookie-category.essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal-buttons button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 9px 24px;
  font-weight: 600;
  margin-right: 0;
  cursor: pointer;
  background: #57a773;
  color: #19273c;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-buttons .cookie-cancel {
  background: #184e77;
  color: #f3f8f2;
}
.cookie-modal-buttons button:hover, .cookie-modal-buttons button:focus {
  background: #f3f8f2;
  color: #184e77;
}

/* RESPONSIVE DESIGN -------------- */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 950px) {
  .container {
    padding: 0 12px;
  }
  .feature-grid, .articles-list-preview, .articles-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.24rem; }
  .section, .about-teaser {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
  .hero-section {
    padding: 42px 0 30px 0;
  }
  .feature-grid,
  .articles-list-preview,
  .articles-list {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    padding: 14px 10px;
    align-items: flex-start;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .about-teaser {
    padding: 22px 3vw;
  }
  .confirmation-section {
    padding: 34px 0 48px 0;
    margin: 40px 0 10px 0;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 2vw;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
  .social-links {
    gap: 8px;
  }
  .footer .container {
    gap: 10px;
  }
  .about-teaser {
    padding: 12px 1vw;
  }
  .hero-section h1 {
    font-size: 1.26rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS ----------- */
.card, .feature, .articles-list-preview article, .articles-list article {
  will-change: box-shadow, transform;
}
.primary-cta, .cookie-banner button, .cookie-modal-buttons button {
  will-change: background, color, box-shadow;
}
.mobile-menu, .cookie-modal-overlay {
  will-change: transform, opacity;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
  width: 11px;
  background: #101926;
}
::-webkit-scrollbar-thumb {
  background: #184e77ee;
  border-radius: 8px;
  border: 2px solid #101926;
}
::-webkit-scrollbar-thumb:hover {
  background: #57a773bb;
}

/* END */