/* ===================================
  REDEKRAFT – NATURE ORGANIC STYLE CSS
  =================================== */
/* 1. RESET & NORMALIZE (CSS Reset + Box Sizing + Inherit fonts) */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fafcf9;
  color: #22312A;
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.25em;
}
a {
  color: #1AC3B3;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #1AC3B3;
  outline-offset: 2px;
}

/* 2. TYPOGRAPHY (from Brand, plus soft organic edges) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Sans', Arial, sans-serif;
  color: #15426A;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.32rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
.subheadline {
  color: #44674D;
  font-size: 1.15rem;
  margin-bottom: 1em;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
}
p {
  margin-bottom: 1.13em;
  color: #2B3E30;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: #476554;
  font-size: 1.10rem;
  border-left: 4px solid #B3CBB9;
  margin-left: 0;
  margin-right: 0;
  padding-left: 18px;
  background: #F2F5F8;
}

@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: 1rem; }
  p, .subheadline, li, blockquote { font-size: 0.95rem; }
}

/* 3. NATURE ORGANIC STYLE ROOT VARIABLES & COLORS */
:root {
  --rk-primary: #15426A;
  --rk-secondary: #1AC3B3;
  --rk-accent: #F2F5F8;
  --rk-green: #44674D;
  --rk-earth: #B3A383;
  --rk-brown: #7E6145;
  --rk-olive: #AEC3AE;
  --rk-bg: #fafcf9;
  --rk-shadow: 0 2px 12px 0 rgba(33,56,41,0.12);
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* SPACING PATERNS (from task) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fafcf9;
  border-radius: 32px;
  box-shadow: var(--rk-shadow);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: #F2F5F8;
  border-radius: 20px;
  box-shadow: 0 2px 8px #cdf7ec40;
  margin-bottom: 20px;
  border: 1.5px solid #E3F2EA;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7FBF6;
  border-radius: 24px 24px 32px 18px / 36px 18px 28px 32px;
  box-shadow: 0 3px 14px #d4e7df2c;
  padding: 24px 18px 18px 18px;
  min-width: 235px;
  max-width: 345px;
}

/* Responsive Spacing */
@media (max-width:780px){
  .section { padding: 22px 2vw; margin-bottom: 32px; }
  .feature-item, .testimonial-card { min-width:unset; max-width:unset; }
}
@media (max-width:600px){
  .testimonial-card, .feature-item { padding: 14px 12px; }
}

/* 4. HEADER NAVIGATION STYLING */
header {
  background: #E7EFE8;
  box-shadow: 0 1px 8px #8cafb2a7;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  margin-bottom: 36px;
  position: relative;
  z-index: 10;
}
.main-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0;
  gap: 22px;
}
.logo img {
  height: 44px;
  margin-right: 18px;
}
.main-navbar ul {
  display: flex;
  gap: 18px;
}
.main-navbar ul li {
  list-style: none;
}
.main-navbar ul li a {
  font-family: 'PT Sans', Arial, sans-serif;
  color: #15426A;
  background: none;
  padding: 7px 15px;
  border-radius: 22px;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.main-navbar ul li a:hover,
.main-navbar ul li a:focus {
  background: #d1eada;
  color: #15426A;
}
.cta-primary {
  background: var(--rk-secondary);
  color: #fff !important;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 12px 30px;
  border-radius: 32px 32px 28px 36px;
  box-shadow: 0 2px 10px #34a18725;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-align: center;
  margin-left: 16px;
  display: inline-block;
  transition: background .16s, box-shadow .22s, color .18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #159b91;
  color: #fff !important;
  box-shadow: 0 4px 14px #159b9140;
}
.cta-secondary {
  background: #E5EAE6;
  color: #15426A !important;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 11px 24px;
  border-radius: 22px;
  margin-top: 20px;
  display: inline-block;
  border: none;
  box-shadow: 0 1px 6px #afd8c52c;
  transition: background .15s, color .17s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #BEDCC1;
  color: #15426A !important;
}

/* Hamburger/Mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--rk-secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 2rem;
  padding: 6px 18px 7px 18px;
  cursor: pointer;
  margin-left: 12px;
  transition: background .18s, box-shadow .18s;
  z-index: 5002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #15426A;
  color: #fff;
}

@media (max-width: 1020px) {
  .main-navbar ul {
    gap: 7px;
  }
  .cta-primary { padding: 8px 14px; font-size: 1em; }
}

@media (max-width: 900px) {
  .main-navbar ul {
    display: none;
  }
  .main-navbar .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff8f4f0;
  box-shadow: 0 3px 22px #15426A22;
  z-index: 5001;
  padding: 26px 32px 22px 32px;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.59,1.24,.45,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--rk-brown);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 16px;
  padding: 1px 19px 3px 17px;
  cursor: pointer;
  margin-bottom: 28px;
  margin-top: 2px;
  box-shadow: 0 1px 8px #b3a38318;
  align-self: flex-end;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7E6145;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'PT Sans', Arial, sans-serif;
  color: #15426A;
  background: #F2F5F8;
  padding: 14px 23px;
  border-radius: 22px;
  font-weight: 500;
  transition: background .16s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1AC3B3;
  color: white;
}
@media (max-width: 500px) {
  .mobile-menu { padding: 18px 8px 22px 6px; }
  .mobile-nav a {
    font-size: 1.1rem;
    padding: 12px 13px;
  }
}

/* 5. HERO/BANNER SECTIONS */
.hero {
  background: linear-gradient(90deg, #F2F5F8 60%, #E7EFE8 100%);
  border-radius: 46px 28px 40px 20px;
  box-shadow: 0 4px 30px #e3fffa1c;
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
}
@media (max-width:850px) {
  .hero { padding: 32px 0 26px 0; border-radius: 28px; }
}
@media (max-width:520px) {
  .hero { min-height: 115px; padding: 16px 0 8px 0; }
}

/* 6. FEATURES CARDS & SERVICE TEASERS */
.features {
  background: #FAFCF8;
  border-radius: 28px;
  margin-bottom: 50px;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.service-teaser, .service-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F2F5F8;
  border-radius: 26px 30px 38px 22px / 32px 18px 33px 30px;
  box-shadow: 0 2px 10px #dbeec929;
  padding: 22px 20px 26px 20px;
  min-width: 230px;
  max-width: 345px;
  margin-bottom: 24px;
  gap: 10px;
  border: 1.2px solid #e2e3e0;
}
.service-teaser img, .feature-item img, .service-detail img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  margin-bottom: 11px;
}
.service-teaser h3, .service-detail h3 {
  color: var(--rk-primary);
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.service-price {
  margin-top: 5px;
  color: #7E6145;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.02em;
  background: #ECF6F0;
  border-radius: 16px;
  padding: 2px 12px;
}
@media (max-width: 900px) {
  .feature-grid, .service-list { flex-direction: column; align-items: stretch; gap: 15px; }
  .service-detail, .service-teaser, .feature-item { max-width: unset; min-width: unset; }
}

/* 7. ABOUT & CONTENT SECTIONS */
.about-preview, .about-mission, .team-intro, .legal-content {
  background: #f7faf7;
  border-radius: 32px;
  margin-bottom: 38px;
  box-shadow: 0 2px 12px #B3CBB933;
}
.usp-list, .benefit-highlights, .values-list {
  margin-top: 13px;
  margin-bottom: 8px;
  padding-left: 22px;
  color: #44674D;
}
.usp-list li, .benefit-highlights li, .values-list li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.53;
  padding-left: 2px;
}
.brand-story {
  margin-top: 26px;
  padding: 12px 18px 8px 17px;
  background: #F2F5F8;
  border-radius: 19px;
  color: #22312A;
  box-shadow: 0 1px 9px #afd8c51a;
}

.team-overview, .contact-persons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 16px 0 22px 0;
}
.team-member {
  background: #ecf6f0;
  border-radius: 22px 36px 24px 30px;
  box-shadow: 0 1px 10px #b3cbb91f;
  padding: 18px 16px 15px 16px;
  min-width: 185px;
  max-width: 285px;
  flex: 1 1 260px;
}
.expertise-highlights ul {
  margin-top: 6px; margin-bottom: 5px; color: #15426A; padding-left: 22px;
}

@media (max-width: 860px) {
  .team-overview, .contact-persons { flex-direction: column; gap: 10px; }
  .team-member { max-width: unset; min-width: unset; }
}

/* 8. TESTIMONIALS/REFERENZEN */
.testimonials, .speaker-testimonials, .client-feedback {
  background: #F2F5F8;
  border-radius: 32px;
  margin-bottom: 48px;
  box-shadow: 0 1px 10px #aacbbc29;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 740px) {
  .testimonial-list { flex-direction: column; gap: 12px; }
}
.testimonial-card blockquote {
  background: none;
  border-left: 2.5px solid var(--rk-green);
  color: #22312A;
  font-size: 1.03em;
  letter-spacing: 0.01em;
  padding-left: 14px;
  margin-bottom: 7px;
}
.testimonial-author {
  color: #44674D;
  font-size: 1em;
  margin-top: 2px;
  font-weight: 700;
  font-family: 'PT Sans', Arial, sans-serif;
}
.client-logos, .logo-wall {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.client-logos img, .logo-wall img {
  height: 44px;
  width: 44px;
}

/* 9. FOOTER */
footer {
  background: #E7EFE8;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 44px;
  box-shadow: 0 -2px 12px #15426A22;
  font-size: 1em;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 12px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a {
  color: #44674D;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .13s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #BEDCC1;
  color: #15426A;
}
.newsletter-signup h4 {
  font-size: 1.1em;
  color: var(--rk-green);
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 13px;
}
.footer-social a img {
  filter: grayscale(0.4) contrast(0.9);
  transition: filter 0.17s;
  height: 30px;
  width: 30px;
}
.footer-social a:hover img { filter: grayscale(0) contrast(1.12); }
.footer-legal {
  color: #44674D;
  margin-top: 20px;
  font-size: 0.95em;
  flex-basis: 100%;
}
@media (max-width: 1000px) {
  footer .content-wrapper { flex-direction: column; gap: 22px; }
}

/* 10. CARDS, BLOCKS, MODAL, BUTTONS */
.card {
  background: #fbfaf5;
  border-radius: 24px 12px 26px 22px;
  box-shadow: 0 2px 10px #b3cbb945;
  padding: 24px 18px;
  margin-bottom: 20px;
}

.case-study {
  background: #f7faf6;
  border-radius: 21px 19px 29px 28px;
  box-shadow: 0 1px 6px #dbeec924;
  padding: 15px 13px 13px 17px;
  margin-bottom: 18px;
}

/* 11. MISC - FORMATS & UTILS */
.seminar-list, .learning-outcomes ul, .quick-faq ul {
  margin-bottom: 12px;
  margin-top: 8px;
  padding-left: 22px;
  color: #44674D;
}
.seminar-list li, .learning-outcomes li, .quick-faq li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.48;
}
.dates-and-prices {
  margin-top: 15px;
  background: #F2F5F8;
  border-radius: 18px;
  padding: 12px 15px;
  box-shadow: 0 1px 5px #b3cbb926;
}
.participant-feedback {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .participant-feedback { flex-direction: column; gap: 12px; }
}

.contact-info-block, .contact-details {
  background: #F2F5F8;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 19px;
  color: #15426A;
  font-size: 1em;
  box-shadow: 0 1px 6px #aacbbc1f;
  line-height: 1.5;
}
.contact-info-block a, .contact-details a {
  color: #1AC3B3;
  text-decoration: underline;
}
.contact-form-info { margin-top: 19px; margin-bottom: 4px; }

/* MODALS (Cookie) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10050;
  background: #ECEDE7;
  color: #22312A;
  box-shadow: 0 -2px 14px #13485344;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 20px 18px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  gap: 26px;
  animation: cookieSlideIn .8s cubic-bezier(.81,.06,.13,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0px;
  max-width: 600px;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-buttons button {
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  padding: 9px 20px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: background .13s, box-shadow .16s;
}
.cookie-accept {
  background: #1AC3B3;
  color: white;
  box-shadow: 0 2px 8px #34a18719;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #159b91;
}
.cookie-reject {
  background: #F2F5F8;
  color: #22312A;
  border: 1.1px solid #BDCFBA;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #e7efe8;
  color: #15426A;
}
.cookie-settings {
  background: #B3CBB9;
  color: #15426A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #44674D;
  color: white;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 19px; align-items: stretch; }
  .cookie-buttons { flex-direction: column; gap: 10px; }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34, 49, 42, 0.38);
  z-index: 11000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modalIn .35s cubic-bezier(.7,0,.4,1) 1;
}
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #22312A;
  box-shadow: 0 6px 32px #1AC3B355;
  border-radius: 44px 22px 25px 30px;
  padding: 40px 30px 32px 30px;
  margin-bottom: 24px;
  min-width: 320px;
  max-width: 94vw;
  z-index: 11001;
  animation: modalSlideUp .48s cubic-bezier(.69,1.21,.32,1) 1;
}
@keyframes modalSlideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 { color: #15426A; margin-bottom: 18px; }
.cookie-category {
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 600;
  color: #44674D;
  font-size: 1em;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  border: 2px solid #B3CBB9;
  height: 21px; width: 21px;
  border-radius: 7px;
  background: #F7FBF6;
  margin-right: 7px;
  transition: border .12s;
  position: relative;
}
.cookie-category input[type="checkbox"]:checked {
  background: #1AC3B3;
  border-color: #15426A;
}
.cookie-category input[type="checkbox"]:checked:after {
  content: '';
  display: block;
  width: 11px; height: 11px;
  margin: 3px auto;
  background: #fff;
  border-radius: 3px;
}
.cookie-actions {
  display: flex;
  gap: 11px;
  margin-top: 23px;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 7px 24px 9px; }
  .cookie-actions { flex-direction:column; gap:7px; }
  .cookie-modal-overlay { align-items: flex-end; }
}

/* 12. CTA SECTION */
.cta-section {
  background: #f2f5f8;
  border-radius: 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
@media (max-width:700px) {
  .cta-section { border-radius:22px; }
}

/* 13. Responsive alignment rules for text-image and other flex sections */
.text-image-section, .benefits .content-grid {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section, .benefits .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* 14. Responsive padding/margin for key sections */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
}

/* 15. Transition + Microinteractions */
button, .cta-primary, .cta-secondary, .footer-navigation a, .main-navbar ul li a, .mobile-nav a {
  transition: background .16s, color .16s, box-shadow .16s, border-color .14s;
}
.card, .section, .feature-item, .testimonial-card, .team-member {
  transition: box-shadow .18s, background .19s;
}
.card:hover, .feature-item:hover, .team-member:hover {
  box-shadow: 0 8px 21px #1AC3B333;
  background: #edfff8;
}

/* 16. Accessibility: focus ring */
:focus-visible {
  outline: 2px solid #1AC3B3;
  outline-offset: 3px;
}

/* 17. Hide [hidden] elements (like cookie modal when not open) */
[hidden] { display: none!important; }

/* ===== END OF CSS ===== */
