/* =========================
   RednerKompass 'gradient_modern' CSS
   ========================= */

/*
  1. RESET & BASE TYPOGRAPHY
  2. GENERAL LAYOUT CONTAINERS (flexbox only)
  3. BRAND COLOR VARIABLES & BASIC ELEMENTS
  4. HEADER & NAVIGATION (main & mobile)
  5. HERO/SECTIONS/CARDS/FEATURES/BUTTONS
  6. FOOTER
  7. TESTIMONIALS, BLOG, LISTS, ETC.
  8. CTA/ACCENT STYLES
  9. COOKIE CONSENT BANNER & MODAL
 10. RESPONSIVE RULES
*/

/* ===============================
   1. CSS RESET & BASE TYPOGRAPHY
 ================================ */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FA;
  color: #222B45;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #26A69A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #222B45;
}
ul, ol {
  padding-left: 1.5em;
}
ul, ol {
  margin-top: 1em;
}
input, button, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #222B45;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
.lead {
  font-size: 1.28rem;
  font-weight: 400;
  margin-bottom: 24px;
}
strong, b {
  font-weight: 700;
  color: #222B45;
}

/* ===============================
   2. FLEXBOX LAYOUT CONTAINERS
 ================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(34,43,69,0.10), 0 1.5px 3px rgba(34,43,69,0.04);
  transition: box-shadow 0.3s, transform 0.2s;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 235px;
  flex: 1 1 290px;
}
.card:hover {
  box-shadow: 0 12px 48px rgba(34,43,69,0.14);
  transform: translateY(-2px) scale(1.015);
}
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(38,166,154,0.07), 0 1px 3px rgba(34,43,69,0.015);
  font-size: 1.08rem;
  color: #222B45;
  min-width: 240px;
  max-width: 465px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px rgba(34,43,69,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid, Kurs Grid, Blog Grid as flex */
.feature-grid, .kurs-grid, .testimonial-grid, .blog-grid, .grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid li, .kurs-grid > div, .testimonial-grid > div, .blog-grid > article, .grid-2 > div {
  background: #fff;
  padding: 1.4em 1.2em;
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(34,43,69,0.07);
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.12s;
}
.feature-grid li:hover, .kurs-grid > div:hover, .testimonial-grid > div:hover, .blog-grid > article:hover, .grid-2 > div:hover {
  box-shadow: 0 10px 42px rgba(38,166,154,0.13);
  transform: translateY(-4px) scale(1.016);
}

/* ===============================
   3. BRAND COLOR VARIABLES
 ================================ */
:root {
  --rk-primary: #222B45;
  --rk-secondary: #26A69A;
  --rk-accent: #F5F6FA;
  --rk-gradient: linear-gradient(90deg, #26A69A 0%, #53D7C2 100%);
  --rk-gradient-dark: linear-gradient(90deg, #222B45, #26A69A 95%);
  --rk-gradient-light: linear-gradient(90deg, #F5F6FA 60%, #e5faf8 100%);
}

/* Modern gradient backgrounds */
.hero, .accent-bg {
  background: var(--rk-gradient);
  color: #222B45;
}
.cta {
  background: linear-gradient(80deg, #222B45 0%, #26A69A 100%);
  color: #fff;
}
.accent-bg {
  background: linear-gradient(70deg, #f5f6fa 80%, #e3f9f7 100%);
}
.hero-small {
  background: linear-gradient(70deg, #e8f8f6 60%, #F5F6FA 100%);
}

/* Section backgrounds/light style for legal, values etc */
.legal, .values, .faq, .about, .benefits, .success-story-highlights, .thankyou, .contact {
  background: #fff;
}

/* ===============================
   4. HEADER & MAIN NAVIGATION
 ================================ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,43,69,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  padding: 7px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  color: #222B45;
  font-weight: 500;
  position: relative;
  transition: color 0.22s, background 0.22s;
}
header nav a:hover {
  background: #e7faf7;
  color: var(--rk-secondary);
}
header nav .btn-primary {
  background: var(--rk-gradient);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 20px;
  margin-left: 6px;
  box-shadow: 0px 6px 20px rgba(38,166,154,0.08);
  transition: background 0.25s, box-shadow 0.19s;
}
header nav .btn-primary:hover {
  background: var(--rk-gradient-dark);
  color: #fff;
  box-shadow: 0 13px 34px rgba(34,43,69,0.11);
}

/* Hamburger Button (mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--rk-secondary);
  cursor: pointer;
  z-index: 120;
  line-height: 1;
  padding: 8px 11px 8px 11px;
  border-radius: 6px;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e5faf8;
}

/* ===============================
   5. MOBILE NAVIGATION DRAWER
 ================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,43,69,0.98);
  color: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.72,.08,.44,1.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 10px 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 230;
  transition: color 0.18s;
  padding: 6px 10px;
  border-radius: 5px;
}
.mobile-menu-close:hover {
  color: var(--rk-secondary);
  background: #2a313f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 18px 32px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 13px 10px;
  border-radius: 7px;
  transition: background 0.21s, color 0.19s;
  outline: 0;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #26a69a;
  color: #fff;
}

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

/* ===============================
   6. HERO, CTA & SECTION TYPOGRAPHY
 ================================ */
.hero, .hero-small {
  display: flex;
  align-items: center;
  min-height: 330px;
  width: 100%;
  margin-bottom: 40px;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 20px 50px rgba(38,166,154,0.09);
  padding-top: 54px;
}
.hero .content-wrapper,
.hero-small .content-wrapper {
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.hero h1, .hero-small h1 {
  color: #222B45;
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero .lead {
  color: #222B45;
  font-size: 1.35rem;
}
.cta {
  text-align: left;
  padding: 52px 20px;
}
.cta h2 {
  color: #fff !important;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* ===============================
   7. BUTTON STYLES
 ================================ */
.btn-primary,
.btn-secondary {
  display: inline-block;
  border-radius: 11px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.22s, transform 0.08s;
  box-shadow: 0 2px 22px rgba(38,166,154,0.10);
}
.btn-primary {
  background: var(--rk-gradient);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--rk-gradient-dark);
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(38,166,154,0.17);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: var(--rk-secondary);
  border: 1.5px solid var(--rk-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--rk-secondary);
  color: #fff !important;
  transform: translateY(-1px) scale(1.03);
}

/* ===============================
   8. SECTION & FEATURE LISTS
 ================================ */
.features, .services, .team, .about, .blog-list, .benefits, .values {
  width: 100%;
  margin-bottom: 60px;
}
.feature-grid img,
.kurs-grid img,
.coaching-formats img,
.benefit-list img,
.footer-contact img,
.contact-details img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}
.feature-grid strong,
.kurs-grid strong, .coaching-formats strong {
  font-size: 1.1rem;
  color: #26A69A;
}
.feature-item > *:not(:last-child) {
  margin-bottom: 4px;
}
.value-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  margin-bottom: 10px;
}
.value-list li {
  background: #f5f6fa;
  padding: 13px 18px;
  border-radius: 13px;
  font-size: 1.09rem;
  color: #222B45;
  margin-bottom: 0;
  box-shadow: 0 2px 12px rgba(38,166,154,0.08);
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.benefit-list li {
  background: #fff;
  box-shadow: 0 3px 15px rgba(38,166,154,0.08);
  border-radius: 11px;
  padding: 1.2em 1.1em;
  font-size: 1.09rem;
  min-width: 180px;
  flex: 1 1 225px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.success-story-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.category-filter {
  margin-bottom: 24px;
  font-size: 1.08rem;
  color: #222B45;
  font-family: 'Montserrat', sans-serif;
}
.category-filter a {
  color: #26A69A;
  font-weight: 600;
  margin: 0 2px;
}
.category-filter a:hover {
  text-decoration: underline;
  color: #222B45;
}

/****** Blog grid articles *****/
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-grid article {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(38,166,154,0.08);
  border-radius: 11px;
  padding: 1.5em 1.2em 1.2em 1.2em;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.blog-grid article a {
  font-weight: 700;
  color: #26A69A;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.16s, text-decoration 0.14s;
}
.blog-grid article a:hover {
  color: #222B45;
  text-decoration: underline;
}

/****** Testimonial list/grid slider ******/
.testimonial-slider,
.testimonial-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ratings-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.03rem;
  color: #222B45;
  background: #fff;
  padding: 9px 17px;
  border-radius: 9px;
  margin-top: 18px;
  box-shadow: 0 1.5px 10px rgba(38,166,154,0.08);
}
.ratings-summary img {
  width: 20px;
  height: 20px;
}

/***** FAQ List ******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 14px;
}
.faq-list li {
  background: #f5f6fa;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(38,166,154,0.08);
  padding: 18px 22px 17px 22px;
}
.faq-list h3 {
  font-size: 1.15rem;
  color: #26A69A;
  font-weight: 700;
  margin-bottom: 6px;
}

/***** Info Cards *****/
.kurs-grid, .coaching-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.coaching-formats li {
  background: #fff;
  box-shadow: 0 6px 26px rgba(38,166,154,0.09);
  border-radius: 13px;
  padding: 1.2em 1.1em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 220px;
}

/* ===============================
   9. FOOTER
 ================================ */
footer {
  width: 100%;
  background: #222B45;
  color: #fff;
  padding: 44px 0 0 0;
  border-radius: 42px 42px 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 26px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #26A69A;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  margin-bottom: 2px;
  border-radius: 7px;
  padding: 5px 4px;
  font-weight: 600;
  transition: color 0.17s, background 0.17s;
}
footer nav a:hover {
  background: #26A69A;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #fff;
  margin-top: 12px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
footer img {
  margin-bottom: 13px;
  max-height: 44px;
}

/* ===============================
   10. COOKIE CONSENT BANNER/MODAL
 ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: linear-gradient(90deg, #222B45 70%, #26A69A 100%);
  color: #fff;
  padding: 22px 22px 18px 22px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: fadeInUp 0.44s cubic-bezier(.77,0,.18,1.16);
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #222B45;
  border-radius: 9px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1.06rem;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  box-shadow: 0 1.5px 9px rgba(38,166,154,0.12);
}
.cookie-banner button.accept {
  background: #26A69A;
  color: #fff;
  box-shadow: 0 4px 17px rgba(38,166,154,0.20);
}
.cookie-banner button.accept:hover {
  background: #222B45;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #222B45;
  border: 2px solid #26A69A;
}
.cookie-banner button.reject:hover {
  background: #f5f6fa;
  color: #26A69A;
}
.cookie-banner button.settings {
  background: #fff;
  color: #26A69A;
  border: 1.5px solid #26A69A;
}
.cookie-banner button.settings:hover {
  background: #26A69A;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,43,69,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.19s cubic-bezier(.71,0,.21,1.16);
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 56px rgba(34,43,69,0.14);
  padding: 38px 32px 32px 32px;
  max-width: 390px;
  width: 96vw;
  color: #222B45;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalShow 0.33s cubic-bezier(.7,0,.3,1);  
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #26A69A;
  font-weight: 700;
  margin-bottom: 13px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin: 18px 0 0 0;
}
.cookie-modal-category label {
  font-size: 1.04rem;
}
.cookie-modal-category input[type=checkbox] {
  width: 21px; height: 21px;
  accent-color: #26A69A;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.34rem;
  color: #26A69A;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal-actions button {
  border-radius: 8px;
  padding: 9px 19px;
  font-size: 1rem;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   {opacity: 1; }
}
@keyframes modalShow {
  0% { opacity:0; transform: scale(0.88) translateY(35px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}

/* ===============================
   11. MISC/UTILITIES
 ================================ */
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 11px;
}
.center {
  text-align: center;
}
.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/******************
   RESPONSIVE
*******************/
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 11px;
  }
  .hero, .hero-small, .cta {
    padding: 42px 0 36px 0;
    min-height: 180px;
    border-radius: 0 0 22px 22px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .hero, .hero-small, .cta, .accent-bg, .section {
    padding: 35px 2vw 34px 2vw;
    min-height: unset;
  }
  .hero h1, .hero-small h1 {
    font-size: 2rem;
  }
  h2 { font-size: 1.34rem; }
  .content-grid, .grid-2, .benefit-list, .feature-grid, .kurs-grid, .testimonial-slider, .testimonial-grid, .coaching-formats, .blog-grid, footer .container {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .feature-grid li, .kurs-grid > div, .testimonial-grid > div, .coaching-formats li, .blog-grid > article, .value-list li, .benefit-list li, .about-preview .content-wrapper, .about .content-wrapper, .team .content-wrapper, .services-preview .content-wrapper, .services .content-wrapper, .footer-contact {
    min-width: 0;
    width: 100%;
  }
  .card, .card-container > * { min-width: 0; width: 100%; }
  .testimonials-preview .testimonial-slider, .testimonials .testimonial-grid {
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  footer .container { padding-bottom: 20px; flex-direction: column !important; align-items: flex-start; gap: 13px; }
  .footer-contact p, footer nav a { font-size: 0.99rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 7px;
  }
  .cookie-banner button {
    width: 100%;
    padding: 10px 0;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
  .hero, .hero-small, .cta, .accent-bg, .section {
    padding: 22px 2vw 17px 2vw;
  }
  .card, .feature-grid li, .kurs-grid > div, .testimonial-grid > div, .blog-grid > article, .coaching-formats li, .value-list li, .benefit-list li {
    padding: 1em .9em !important;
  }
  .testimonial-card, .faq-list li {
    padding: 1em .9em !important;
  }
  .cookie-modal {
    padding: 16px 4vw 19px 4vw;
  }
}
