/* --------------------------- CSS RESET & BASE --------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EFF6F0;
  color: #275755;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-size: 1rem;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #336E6B;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFD041;
}
ul, ol {
  margin: 0 0 1em 1.2em;
  padding: 0;
}
li {
  margin-bottom: 0.4em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}
strong {
  font-weight: 600;
  color: #275755;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #275755;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.1rem; }
p, .subheadline { font-size: 1.125rem; margin-bottom: 20px; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  background: #fff;
  padding: 40px 24px;
  border-radius: 18px;
  box-shadow: 0 3px 20px 0 rgba(52,63,55,0.05);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------------- HEADER -------------------------- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px 0 rgba(52,63,55,0.07);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 19px;
  padding-bottom: 19px;
}
header img {
  max-height: 42px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #336E6B;
  padding: 7px 2px;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #275755;
  border-bottom: 2px solid #FFD041;
}
.cta-button {
  background: #FFD041;
  color: #275755;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 2px 10px 0 rgba(49,73,63,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s; 
  border: none;
  display: inline-block;
  margin-left: 8px;
  letter-spacing: 0.01em;
}
.cta-button:hover, .cta-button:focus {
  background: #336E6B;
  color: #fff;
  box-shadow: 0 5px 14px 0 rgba(52,63,55,0.14);
}

/* ------------------------ MOBILE MENU --------------------------- */
.mobile-menu-toggle {
  position: fixed;
  top: 24px;
  right: 20px;
  z-index: 100;
  background: #FFFFFF;
  color: #336E6B;
  border-radius: 7px;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(49,73,63,0.03);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EFF6F0;
  color: #275755;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 5px 50px 0 rgba(49,73,63,0.09);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 24px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.53,.13,.13,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #275755;
  margin-left: auto;
  background: #EFF6F0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(49,73,63,0.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #275755;
  background: #EFF6F0;
  padding: 14px 24px;
  border-radius: 15px;
  margin: 0;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD041;
  color: #336E6B;
}
@media (min-width: 1020px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1019px) {
  header .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* ------------------- SECTIONS & SPACING ------------------- */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(49,73,63,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(49,73,63,0.11);
}
.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;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #EFF6F0;
  border-left: 7px solid #336E6B;
  border-radius: 11px;
  color: #204441;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(49,73,63,0.05);
}
.testimonial-card p {
  color: #204441;
  font-size: 1.1rem;
  margin-bottom: 0 !important;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SCANDINAVIAN CLEAN FLEX PATTERNS FOR PAGE-SPECIFIC COMPONENTS */
.feature-list,
.values-list,
.unique-approach-list,
.service-list,
.included-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin-left: 0;
}
.feature-list li, .service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #EFF6F0;
  padding: 13px 20px;
  border-radius: 9px;
  color: #275755;
  font-size: 1rem;
  font-weight: 500;
}
.feature-list img, .service-list img {
  width: 32px; height: 32px;
}
.values-list li, .unique-approach-list li, .included-list li {
  font-size: 1rem;
  color: #336E6B;
  background: #F8FBF9;
  border-radius: 7px;
  padding: 8px 15px;
}
.service-list li .highlight {
  background: #FFD041;
  color: #275755;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
  margin-left: 10px;
  font-size: 1rem;
}

/* SERVICE GRID (kurse.html) */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-detail {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(49,73,63,0.06);
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.service-detail:hover {
  box-shadow: 0 7px 30px 0 rgba(49,73,63,0.13);
  transform: translateY(-4px) scale(1.015);
}
.level-tag {
  display: inline-block;
  background: #EFF6F0;
  color: #336E6B;
  border-radius: 9px;
  padding: 2px 9px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 9px;
}
.price-highlight {
  color: #275755;
  background: #FFD041;
  padding: 3px 11px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-top: 12px;
}

/* PRICING TABLE (preise.html) */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(49,73,63,0.07);
}
.pricing-table th, .pricing-table td {
  padding: 18px 23px;
  text-align: left;
  font-size: 1.1rem;
}
.pricing-table th {
  background: #EFF6F0;
  color: #275755;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.pricing-table tbody tr:nth-child(even) {
  background: #FAFCFB;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #fff;
}

/* SCHEDULE TABLE (zeitplan.html) */
.schedule {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(49,73,63,0.07);
}
.schedule th, .schedule td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1rem;
}
.schedule th {
  background: #EFF6F0;
  color: #275755;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.schedule tbody tr:nth-child(even) {
  background: #FAFCFB;
}
.schedule tbody tr:nth-child(odd) {
  background: #fff;
}
.highlight-next-class {
  background: #FFD041;
  color: #204441;
  padding: 14px 18px;
  border-radius: 11px;
  font-weight: 500;
  margin-top: 19px;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: #EFF6F0;
  color: #275755;
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid #e6eee6;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-branding img {
  max-height: 38px;
  margin-bottom: 7px;
  filter: grayscale(18%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #336E6B;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD041;
}

/*-------------------- FAQ Accordion ----------------------*/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F8FBF9;
  border-radius: 9px;
  padding: 18px 22px;
  color: #275755;
  box-shadow: 0 1px 6px 0 rgba(49,73,63,0.035);
}
.faq-item h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
}
.faq-quick ul,
.faq-pricing ul {
  margin-left: 0;
}

.next-steps-info li {
  margin-bottom: 0.38em;
  color: #336E6B;
}
.next-steps-info ul {
  margin-bottom: 0.4em;
}

.value-adds-icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 16px;
}
.value-adds-icons img {
  width: 44px;
  height: 44px;
  opacity: 0.91;
}

/* INSTRUCTOR PROFILE & BIOS */
.instructor-profile-short {
  margin-top: 18px;
  font-size: 1.13rem;
  color: #336E6B;
  background: #F8FBF9;
  border-radius: 9px;
  padding: 14px 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.instructor-bio {
  background: #EFF6F0;
  border-radius: 12px;
  padding: 25px 22px;
  margin-bottom: 20px;
  color: #275755;
  box-shadow: 0 1px 6px 0 rgba(49,73,63,0.037);
}
.certifications-list {
  list-style: none;
  margin-left: 0;
  margin-top: 11px;
  gap: 11px;
  display: flex;
  flex-direction: column;
}
.certifications-list li {
  font-size: 1rem;
  color: #336E6B;
  background: #fff;
  border-radius: 7px;
  padding: 4px 13px;
  font-weight: 400;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #275755;
  padding: 27px 20px 19px 20px;
  box-shadow: 0 -2px 16px 0 rgba(49,73,63,0.09);
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  transition: transform 0.29s;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner p {
  margin: 0;
  flex: 1;
  font-size: 1rem;
  color: #275755;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #EFF6F0;
  color: #275755;
  border: 1.5px solid #275755;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: #FFD041;
  color: #204441;
  border: 1.5px solid #FFD041;
}
.cookie-btn.reject {
  background: #EFF6F0;
  color: #336E6B;
  border: 1.5px solid #336E6B;
}
.cookie-btn.settings {
  background: #fff;
  color: #275755;
  border: 1.5px solid #EFF6F0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #336E6B;
  color: #fff;
  border-color: #336E6B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #204441;
  color: #FFD041;
  border-color: #FFD041;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,44,34,0.18);
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  width: 98%;
  max-width: 400px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 7px 50px 0 rgba(49,73,63,0.12);
  padding: 32px 28px 25px 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInModal 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { transform: translateY(32px) scale(.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F8FBF9;
  padding: 13px 15px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #336E6B;
}
.cookie-category input[type=checkbox]:disabled + label {
  color: #AAA;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  background: transparent;
  color: #275755;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
  z-index: 2100;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EFF6F0;
  color: #336E6B;
}

/* ------------------- RESPONSIVE DESIGN ------------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper, .card, .service-detail {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .main-nav {
    display: none;
  }
  .content-wrapper {
    padding: 22px 7px;
  }
  section, .section {
    padding: 21px 0;
  }
  .card-container, .service-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .value-adds-icons {
    gap: 13px;
  }
  .footer-branding img {
    margin-bottom: 2px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px 13px 10px;
  }
  .cookie-consent-actions {
    flex-direction: row;
    gap: 9px;
  }
}
@media (max-width: 500px) {
  .container {
    max-width: 99vw;
    padding-left: 2px;
    padding-right: 2px;
  }
  .card, .service-detail {
    min-width: unset;
    max-width: 100%;
  }
}

/* ---------------------- ANIMATIONS & MICRO-INTERACTIONS -------------------- */
.card, .service-detail, .testimonial-card, .cookie-consent-banner, .cookie-modal, .cta-button, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.17s, background 0.15s, color 0.14s, transform 0.12s;
}
.cta-button:active {
  transform: translateY(1.5px) scale(.98);
  box-shadow: 0 0px 5px 0 rgba(49,73,63,0.09);
}
input[type="checkbox"] {
  accent-color: #336E6B;
  width: 1.1em;
  height: 1.1em;
}

/* -------------------- UTILITIES & MISC -------------------- */
.highlight {
  background: #FFD041;
  color: #275755;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 9px;
  display: inline-block;
}
.cta-inline {
  margin-top: 20px;
}

::-webkit-input-placeholder { color: #90ABA6; }
:-moz-placeholder           { color: #90ABA6; }
::-moz-placeholder          { color: #90ABA6; }
:-ms-input-placeholder      { color: #90ABA6; }

/* --------------------- SCROLLBAR -------------------- */
body {
  scrollbar-width: thin;
  scrollbar-color: #275755 #EFF6F0;
}
body::-webkit-scrollbar {
  width: 8px;
  background-color: #EFF6F0;
}
body::-webkit-scrollbar-thumb {
  background: #B6CEC4;
  border-radius: 20px;
}

/* --------- Hide elements not relevant on mobile in some cases --------- */
@media (max-width: 850px) {
  .footer-nav {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
