/* 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #183759;
  background: #F2F2F2;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #183759;
  text-decoration: none;
  transition: color 0.22s, background 0.22s;
}
a:hover, a:focus {
  color: #78A869;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* FONTS (Google Fonts, fallback to system) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #183759;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.22;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  color: #2C465E;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(24,55,89,0.06);
  position: relative;
}
@media (max-width: 1000px) {
  .container {
    max-width: 96%;
    padding: 0 8px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 44px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 18px 2px;
    margin-bottom: 28px;
  }
}

/* HEADER */
header {
  background: linear-gradient(90deg,#e4f4e7 0%, #c4e5e9 100%);
  box-shadow: 0px 2px 14px rgba(24,55,89,0.04);
  position: relative;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  padding-right: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #183759;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #78A86922;
  color: #78A869;
}
nav .cta {
  background: #183759;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  padding: 9px 22px;
  margin-left: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 10px 0 rgba(24,55,89,0.08);
  transition: background .24s, box-shadow .24s, color .24s;
}
nav .cta:hover, nav .cta:focus {
  background: #78A869;
  color: #183759;
  box-shadow: 0 6px 20px 0 rgba(120,168,105,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: #183759;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  z-index: 101;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F2F2F2;
  box-shadow: 0 6px 28px rgba(24,55,89,0.13);
  z-index: 120;
  transform: translateX(100vw);
  transition: transform .42s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0px);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #183759;
  cursor: pointer;
  z-index: 131;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 32px;
  gap: 12px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 13px 7px 13px 6px;
  color: #183759;
  border-radius: 6px;
  width: 100%;
  transition: background 0.2s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #78A86922;
  color: #78A869;
}

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

/* HERO SECTIONS */
.hero {
  min-height: 340px;
  background: linear-gradient(102deg,#e4f4e7 0%, #d2e7f6 100%);
  border-radius: 0 0 38px 38px;
  margin-bottom: 44px;
  box-shadow: 0 4px 48px rgba(24,55,89,0.12);
  display: flex;
  align-items: center;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 330px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
  max-width: 770px;
}
.hero h1 {
  color: #183759;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #25405e;
}
@media (max-width:900px) {
  .hero {
    min-height: 220px;
    border-radius: 0 0 18px 18px;
  }
  .hero .container {
    min-height: 170px;
  }
}
@media (max-width:600px) {
  .hero {
    min-height: 120px;
    margin-bottom: 24px;
  }
  .hero .container {
    padding: 0 4px;
    min-height: 90px;
  }
  .hero .content-wrapper {
    padding: 8px 0 0 0;
    max-width: 98vw;
  }
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 17px;
  }
}

/* BUTTONS & CALLS-TO-ACTION */
.cta {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  background: linear-gradient(90deg,#183759 0%, #78A869 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 24px 0 rgba(24,55,89,0.08);
  margin-top: 10px;
  transition: background 0.19s, color 0.16s, transform 0.17s;
  border: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg,#78A869 0%, #183759 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(120,168,105,0.13);
  outline: none;
}

/* CONTENT WRAPPER & FLEX LAYOUTS */
.content-wrapper {
  padding: 36px 0 0 0;
}

/* FLEXBOX UTILITY LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(24,55,89,0.06);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 400px;
}
.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: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(24,55,89,0.06);
  min-width: 250px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* FEATURE GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 10px;
}
.feature-grid > div {
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F2F2F2;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(24,55,89,0.05);
  padding: 26px 18px 22px 18px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px rgba(120,168,105,0.09);
  transform: translateY(-2px) scale(1.019);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  margin-top: 0;
}
@media (max-width:690px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
    padding: 20px 7px 17px 7px;
  }
}

/* TEXT SECTIONS & LISTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 0 0;
  margin-bottom: 22px;
}
.text-section ul, .learning-objectives ul, .module-list, .feature-list {
  margin-bottom: 18px;
  padding-left: 18px;
}
.text-section li, .feature-list li, .learning-objectives li, .module-list li {
  list-style: disc inside;
  margin-bottom: 10px;
  color: #295e50;
}
.text-section strong, .feature-list strong {
  color: #183759;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* MODULE LIST (PROGRAM PAGE) */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.module-list li {
  background: #F2F2F2;
  padding: 16px 18px;
  border-radius: 7px;
  font-size: 1rem;
  color: #25405E;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.module-list strong {
  font-size: 1.07rem;
  color: #183759;
  font-weight: 700;
}

.learning-objectives {
  margin-bottom: 24px;
}
.learning-objectives h3 {
  font-size: 1.17rem;
  font-family: 'Montserrat',sans-serif;
  color: #78A869;
  margin-bottom: 7px;
  margin-top: 12px;
  font-weight: 600;
}

/* TESTIMONIALS */
.testimonial-slider, .testimonial-list, .testimonial-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.testimonial-card h3 {
  color: #295e50;
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.testimonial-card .stars {
  color: #ffbb33;
  font-size: 1.35rem;
  font-family: 'Montserrat',sans-serif;
  letter-spacing: 2.4px;
  font-weight: 700;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #183759;
  margin-bottom: 4px;
  line-height: 1.5;
}
.testimonial-author {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  color: #78A869;
  letter-spacing: 0.02em;
  font-weight: 600;
  margin-top: 4px;
}
.featured-review {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.featured-review .testimonial-card {
  background: #F2F2F2;
  border-left: 7px solid #78A869;
  box-shadow: 0 8px 28px rgba(120,168,105,0.10);
}
@media (max-width:730px) {
  .testimonial-slider,
  .testimonial-list, .testimonial-snippets, .featured-review {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .featured-review {
    margin-top: 10px;
  }
}

/* BLOG POST LIST */
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.post-list article {
  flex: 1 1 260px;
  min-width: 235px;
  max-width: 360px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(24,55,89,0.06);
  padding: 24px 18px 19px 18px;
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.post-list article:hover {
  box-shadow: 0 6px 26px rgba(24,55,89,0.10);
  transform: translateY(-2px) scale(1.015);
}
.post-list h3 {
  font-size: 1.14rem;
  margin-bottom: 7px;
  color: #183759;
  font-weight: 700;
}
.post-list p {
  font-size: 0.96rem;
  color: #25405E;
  margin-bottom: 12px;
}
.post-list a {
  font-size: 0.92rem;
  color: #78A869;
  font-weight: 600;
  text-decoration: underline;
}

.category-filters {
  padding: 10px 0 6px 2px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  color: #295e50;
  margin-bottom: 5px;
}
.category-filters a {
  color: #78A869;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0 6px;
}
.category-filters a:hover {
  text-decoration: underline;
  color: #183759;
}

/* NEWSLETTER */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #F2F2F2;
  border-radius: 12px;
  padding: 25px 18px 18px 18px;
  align-items: flex-start;
}

/* FOOTER */
footer {
  background: #183759;
  color: #fff;
  padding: 56px 0 0 0;
  position: relative;
  z-index: 10;
}
footer .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 1230px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 0 20px;
}
.footer-flex nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-flex nav a {
  color: #fff;
  font-size: 1rem;
  padding: 0;
  background: none;
}
.footer-flex nav a:hover {
  color: #78A869;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #edfdf6;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 0;
}
.footer-bottom {
  text-align: center;
  padding: 15px 0 11px 0;
  font-size: 0.98rem;
  color: #cdd6e8;
  background: #162f4c;
  border-radius: 0 0 18px 18px;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    gap: 20px;
    padding: 0 5px;
  }
  .footer-flex nav {
    flex-direction: row;
    gap: 8px;
  }
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #294e5f;
  color: #fff;
  padding: 21px 18px 18px 18px;
  z-index: 1300;
  box-shadow: 0 -2px 14px rgba(24,55,89,0.06);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: slideUp .7s ease;
}
@keyframes slideUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  outline: none;
  background: #78A869;
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s, color 0.12s;
}
.cookie-banner button:hover {
  background: #4b7a3b;
  color: #fff;
}
.cookie-banner button.settings {
  background: #183759;
}
.cookie-banner button.settings:hover {
  background: #295e50;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: rgba(24,55,89,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .34s ease;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  color: #183759;
  border-radius: 18px;
  padding: 36px 28px;
  max-width: 420px;
  min-width: 290px;
  box-shadow: 0 9px 38px 0 rgba(24,55,89,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popIn .3s cubic-bezier(.37,1.31,.75,.98);
}
@keyframes popIn {
  0% { transform: scale(0.88); }
  100% { transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #78A869;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: #183759;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
  margin-left: 8px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #cbd5e1;
  border-radius: 22px;
  transition: background 0.26s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #78A869;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  border: none;
  border-radius: 7px;
  padding: 8px 18px;
  box-shadow: none;
  cursor: pointer;
  background: #183759;
  color: #fff;
  font-weight: 600;
  transition: background 0.15s;
}
.cookie-modal button:hover {
  background: #78A869;
  color: #fff;
}

/* SPACING & UTILITY */
.mt-30 {
  margin-top: 30px !important;
}
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-16 { gap: 16px !important; }

/* FORMS (Kontakt page, when present) */
input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #cfd8e9;
  border-radius: 6px;
  background: #FAFAFA;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #78A869;
  outline: none;
}
button, input[type=submit], input[type=button] {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #183759;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(24,55,89,0.04);
  transition: background 0.17s, color 0.13s;
}
button:hover, input[type=submit]:hover, input[type=button]:hover {
  background: #78A869;
  color: #fff;
}

/* Responsive alignments & typography */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid,
  .card-container,
  .feature-grid,
  .testimonial-slider,
  .testimonial-list,
  .testimonial-snippets {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card, .post-list article, .feature-grid > div, .testimonials .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
  }
}

/* COLORS & VISUALS FOR GRADIENT MODERN EFFECT */
.section {
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(31,61,91,0.08);
  background: linear-gradient(93deg,#fff 80%,#e4f4e7 100%);
}
.feature-grid > div, .card {
  background: linear-gradient(97deg,#F2F2F2 60%,#c4e5e9 100%);
  /* avoid complex gradient for compatibility */
}
.testimonial-card {
  background: #fff;
  border-left: 4px solid #78A86933;
}
.featured-review .testimonial-card {
  border-left: 7px solid #78A869;
  background: #F2F2F2;
  color: #183759;
}

/* Elevation and hover effects */
.card, .post-list article, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 18px rgba(24,55,89,0.06);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .post-list article:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(24,55,89,0.12);
  transform: translateY(-3px) scale(1.012);
}

/* Remove extra margin for last elements */
.card-container > .card:last-child, .content-grid > *:last-child,
.section > .container:last-child, .testimonials > .testimonial-card:last-child {
  margin-bottom: 0;
}

/* MISCELLANEOUS */
::-webkit-scrollbar {
  width: 10px;
  background: #f4f4f4;
}
::-webkit-scrollbar-thumb {
  background: #cde1cc;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #78A86966;
}

/* END */
