/* RESET & NORMALIZE - START */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F7FAFC;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #174C67;
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #38B5A3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174C67;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
strong {
  font-weight: 600;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* SCROLLBAR (for a subtle soft-pastel touch) */
::-webkit-scrollbar {
  width: 8px;
  background: #E1F7F0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #d3e9e5;
  border-radius: 4px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #174C67;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li, span, td {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #174C67;
}
.subheadline {
  font-size: 1.25rem;
  color: #32A098;
  font-weight: 400;
  margin-bottom: 24px;
}
.footer-copy {
  color: #7da8ba;
  font-size: 0.93rem;
  margin-top: 16px;
  letter-spacing: 0.3px;
}

/* LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(56,181,163,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 260px;
}
.card:hover, .feature-card:hover {
  box-shadow: 0 12px 40px 0 rgba(23,76,103,0.13);
  transform: translateY(-4px);
}

.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;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg,#E1F7F0 80%,#c3cefa 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 60px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  margin: 0 auto;
}
.hero .cta-btn {
  margin-top: 24px;
}

/* CTA SECTION */
.cta {
  background: #f6faff;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px 36px 20px;
  text-align: center;
  box-shadow: 0 4px 32px 0 rgba(56,181,163,0.11);
}
.cta .content-wrapper {
  align-items: center;
}
.cta .cta-btn {
  margin-top: 20px;
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px 10px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(56,181,163,0.09);
  padding: 30px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 310px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  gap: 13px;
  border: 2px solid #E1F7F0;
}
.feature-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}
.feature-card h3 {
  color: #38B5A3;
  font-size: 1.22rem;
}

/* USP / Badges */
.logo-badges {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.logo-badges img {
  width: 68px;
  height: 68px;
  background: #eafafd;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 12px 0 rgba(56,181,163,0.08);
}

/* LISTS */
.usp-list, .benefits-list, .benefit-points {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 0;
}
.usp-list li::before, .benefits-list li::before, .benefit-points li::before {
  content: '•';
  color: #38B5A3;
  margin-right: 8px;
}

.benefits-list strong, .benefit-points strong {
  color: #38B5A3;
  font-weight: 600;
}

/* KURSE */
.kurs-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.kurs-price {
  background: #E1F7F0;
  color: #174C67;
  font-weight: 500;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 1rem;
  margin-top: 14px;
  display: inline-block;
}

/* KURS-VERGLEICH-TABELLE */
.kurs-compare-table th {
  background: #E1F7F0;
  color: #174C67;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px 6px 0 0;
}
.kurs-compare-table tbody tr:nth-child(even) {
  background: #fafcff;
}
.kurs-compare-table td, .kurs-compare-table th {
  border-bottom: 1px solid #d9f0e8;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px 28px 20px;
  background: linear-gradient(120deg, #E1F7F0 85%, #f8d4db 100%);
  border-radius: 22px;
}
.testimonial-slider, .testimonial-grid, .corporate-testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(23,76,103,0.07);
  padding: 20px 24px;
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  border: 1.5px solid #E1F7F0;
  color: #174C67;
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card p {
  color: #174C67;
}
.testimonial-card .testimonial-author {
  margin-top: 4px;
  color: #38B5A3;
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px 0 rgba(56,181,163,0.17);
  transform: translateY(-3px);
}

/* FOOTER */
footer {
  background: #e9f6f3;
  padding: 36px 0 24px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  color: #38B5A3;
  opacity: 0.88;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #174C67;
  opacity: 1;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 22px 0 rgba(23,76,103,0.043);
  padding: 0;
  z-index: 200;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 14px 20px;
}
.main-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #174C67;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.02rem;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: #E1F7F0;
  color: #38B5A3;
}
.cta-btn {
  background: linear-gradient(90deg,#38B5A3 85%,#48d2c5 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 12px 36px;
  font-size: 1.09rem;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 4px 24px 0 rgba(56,181,163,0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.14px;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174C67;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(23,76,103,0.12);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: #E1F7F0;
  border: none;
  color: #174C67;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 10px;
  pointer-events: auto;
  z-index: 9992;
  margin-left: 14px;
  box-shadow: 0 2px 12px 0 rgba(23,76,103,0.07);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #c3cefa;
  color: #38B5A3;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,250,252,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 42px;
  padding-left: 30px;
  padding-right: 30px;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.54,.13,.41,1);
  box-shadow: 0 12px 48px 0 rgba(23,76,103,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #174C67;
  font-size: 2.3rem;
  border: none;
  position: absolute;
  top: 24px;
  right: 36px;
  cursor: pointer;
  z-index: 9991;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #38B5A3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: #174C67;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 500;
  margin-right: 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E1F7F0;
  color: #38B5A3;
}

/* FORMS - GENERIC INPUTS (for future contact forms) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1.5px solid #E1F7F0;
  background: #fff;
  color: #174C67;
  margin-bottom: 22px;
  width: 100%;
  transition: border 0.17s, box-shadow 0.13s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.6px solid #38B5A3;
  box-shadow: 0 2px 10px 0 #e1f7f07d;
}

/* TEXT-SECTION GENERIC */
.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  margin-bottom: 16px;
  padding-left: 0;
}
.text-section h2, .text-section h3 {
  margin-top: 30px;
}
.faq-teaser {
  margin-top: 18px;
  background: #f6faff;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.99rem;
  color: #174C67;
  box-shadow: 0 1px 8px 0 #d6effd2a;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 20000;
  background: #fff;
  box-shadow: 0 -4px 40px 0 rgba(23,76,103,0.10);
  border-top: 5px solid #E1F7F0;
  padding: 14px 20px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.97rem;
  transition: transform 0.22s;
}
.cookie-banner.closed {
  transform: translateY(110%);
}
.cookie-banner .cookie-message {
  flex: 1;
  color: #174C67;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 13px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: #E1F7F0;
  color: #174C67;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  box-shadow: 0 2px 12px 0 #e1f7f099;
}
.cookie-btn.accept {
  background: #38B5A3;
  color: #fff;
  box-shadow: 0 4px 16px 0 #38b5a340;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #174C67;
}
.cookie-btn.reject {
  background: #f8d4db;
  color: #174C67;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fdd4e0;
  color: #38B5A3;
}
.cookie-btn.settings {
  background: #E1F7F0;
  color: #174C67;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #c3cefa;
  color: #38B5A3;
}

.cookie-preference-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 21000;
  background: rgba(23,76,103,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-preference-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 32px 34px 24px 34px;
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 8px 48px 0 rgba(23,76,103,0.23);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #38B5A3;
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: #38B5A3;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #174C67;
}

/* CONTACT SECTION */
.contact-details ul {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details strong {
  color: #38B5A3;
  font-weight: 600;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section, .hero, .features, .course, .cta, .testimonials, .card, .feature-card, .testimonial-card {
  animation: fadeUp 0.8s cubic-bezier(.44,.02,.31,1) 0.1s both;
}

/* SPACING & FLEX UTILITIES (MANDATORY PATTERNS) */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
  position: relative;
}
.content-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  justify-content: space-between !important;
}
.text-image-section {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  flex-wrap: wrap !important;
}
.testimonial-card {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 15px !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1140px) {
  .feature-grid {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-card {
    min-width: 210px;
    max-width: 50vw;
  }
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 8px;
    margin-left: 14px;
  }
  .cta-btn {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .kurs-listing, .card-container, .testimonial-slider, .testimonial-grid, .corporate-testimonials {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.68rem;
  }
  h2 {
    font-size: 1.31rem;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 16px;
    padding: 11px 24px;
    font-size: 1rem;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  .hero {
    padding: 36px 0 24px 0;
    min-height: 170px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .card {
    padding: 20px 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .cta {
    border-radius: 14px;
    padding: 23px 8px 22px 8px;
  }
  .features {
    border-radius: 12px;
    padding: 18px 6px 10px 6px;
    margin-bottom: 36px;
  }
  .logo-badges {
    gap: 13px;
  }
  .section {
    padding: 23px 10px !important;
    margin-bottom: 38px !important;
  }
  .cookie-modal-content {
    min-width: 90vw;
    max-width: 97vw;
    padding: 18px 11px 16px 11px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    padding: 15px 7px 10px 10px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .card,
  .feature-card,
  .testimonial-card {
    padding-left: 8px;
    padding-right: 8px;
  }
  .logo-badges img {
    width: 44px;
    height: 44px;
    padding: 4px;
  }
  .footer-copy{
    font-size: 0.95rem;
    text-align: center;
  }
}

/* MICRO-INTERACTION TRANSITIONS */
.card, .feature-card, .testimonial-card, .cta-btn, .cta, .cookie-btn, .cookie-banner, .mobile-menu, .mobile-menu-toggle{
  transition: all 0.17s cubic-bezier(.54,.13,.41,1);
}

/* VISUAL HIERARCHY */
.section h1, .section h2 {
  margin-bottom: 20px;
}

/* TABLET OVERRIDES */
@media (max-width: 900px) {
  .footer-nav, .main-nav, .hero .content-wrapper, .feature-grid {
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* PREVENT ABSOLUTE POSITIONING FOR CONTENT CARDS (allow only for icons or close buttons) */
/* No content card (cards, testimonials, features) uses position: absolute except decoration/close-btns */

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px dashed #38B5A3;
  outline-offset: 2px;
  background: #E1F7F0;
  color: #174C67;
}

/* SOFT PASTEL PALETTE SUPPORT */
/* Add subtle backgrounds for groups */
.section, .features, .cta, .testimonials {
  background-blend-mode: lighten;
}

/* Hide scroll on mobile menu when open */
body.mobile-menu-open {
  overflow: hidden;
}

/* END OF CSS */
