/* --- CSS RESET & BASE STYLES --- */
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, main, 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 {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4EDEA;
  color: #232D3C;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: #5BC366;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #26ad4b;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #232D3C;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; }
h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }
.subheadline { font-size: 1.125rem; color: #232D3C; opacity: 0.95; margin-bottom: 24px; font-weight: 500; }
strong {
  font-weight: 700;
  color: #232D3C;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #232D3C;
  box-shadow: 0 2px 12px rgba(35,45,60,0.10);
  position: sticky;
  top: 0;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
}
header img {
  height: 42px;
  margin-right: 28px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F4EDEA;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #5BC366;
}

.cta-btn {
  background: #5BC366;
  color: #232D3C;
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 3px 18px rgba(91,195,102,0.17);
  margin-left: 20px;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #26ad4b;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(91,195,102,0.22);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #5BC366;
  margin-left: 24px;
  cursor: pointer;
  z-index: 45;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F4EDEA;
}

/* --- MOBILE NAVIGATION MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  transform: translateX(-100%);
  background: #232D3C;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.33s cubic-bezier(.9,.11,.81,.61);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #5BC366;
  align-self: flex-end;
  margin: 32px 24px 10px 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4EDEA;
  transform: rotate(90deg) scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 24px 0 0 40px;
}
.mobile-nav a {
  color: #F4EDEA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #5BC366;
}

/* --- SECTIONS & LAYOUT PATTERNS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(35,45,60,0.08), 0 1px 1px rgba(91,195,102,0.03);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
}

/* --- FEATURES / LIST STYLES (INDEX) --- */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(35,45,60,0.07);
  padding: 22px 18px 22px 22px;
  width: 320px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-list li:hover {
  box-shadow: 0 10px 28px rgba(91,195,102,0.18);
  transform: translateY(-2px) scale(1.02);
}
.feature-list img {
  height: 44px;
  margin-right: 7px;
}
.feature-list h3 {
  font-size: 1.17rem;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* --- LISTS (SERVICE, VALUE, EQUIPMENT, ETC) --- */
.service-list, .value-list, .benefit-list, .equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.service-list li, .value-list li, .benefit-list li, .equipment-list li {
  background: #fff;
  border-radius: 14px;
  padding: 17px 20px;
  color: #232D3C;
  font-size: 1rem;
  font-weight: 500;
  flex: 1 1 220px;
  box-shadow: 0 2px 10px rgba(91,195,102,0.09);
  margin-bottom: 0;
}
.equipment-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.equipment-list img {
  width: 40px;
}

/* --- CARDS, COURSE GRID (KURSE), TEAM GRID (TEAM) --- */
.course-grid, .team-grid, .membership-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.course-item, .team-member, .option {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 24px rgba(35,45,60,0.09);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.course-item:hover, .team-member:hover, .option:hover {
  box-shadow: 0 10px 36px rgba(91,195,102,0.18);
  transform: translateY(-2px) scale(1.025);
}

/* --- PRICING TABLE (MITGLIEDSCHAFT) --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 14px 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(91,195,102,0.06);
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  text-align: center;
  padding: 13px 8px;
  border-bottom: 1px solid #EAEEF1;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table th {
  background: #5BC366;
  color: #F4EDEA;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #F4EDEA;
  box-shadow: 0 6px 28px rgba(35,45,60,0.11);
  margin-bottom: 20px;
  border-left: 7px solid #5BC366;
  max-width: 540px;
  color: #232D3C;
  font-size: 1.09rem;
}
.testimonial-card strong {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232D3C;
  opacity: 0.8;
  align-self: flex-end;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin: 18px 0 20px 0;
  font-size: 1rem;
}
.contact-details img {
  width: 22px;
  vertical-align: middle;
  margin-right: 10px;
}

/* --- FOOTER --- */
footer {
  background: #232D3C;
  color: #F4EDEA;
  padding: 28px 0 20px 0;
  font-size: 0.96rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #5BC366;
  font-weight: 600;
  transition: color 0.17s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F4EDEA;
  text-decoration: underline;
}
.footer-contact p {
  margin-bottom: 5px;
}

/* --- VIBRANT ENERGETIC CUSTOM EFFECTS --- */
.card, .course-item, .option, .testimonial-card, .feature-list li, .service-list li, .benefit-list li, .team-member, .equipment-list li {
  transition: box-shadow 0.17s, transform 0.14s;
}
h1,h2,h3 {
  text-shadow: 0 2px 14px rgba(91,195,102,0.04);
}

section {
  background: #FDFCFB;
  border-radius: 25px;
  box-shadow: 0 5px 38px 0 rgba(35,45,60,0.09);
}

.card:before, .course-item:before, .option:before, .team-member:before {
  content: '';
  display: block;
  position: absolute;
  left: -4px; top: -10px;
  width: 21px; height: 21px;
  background: #5BC366;
  border-radius: 50%;
  opacity: 0.13;
  z-index: 0;
}

.card:hover:before, .course-item:hover:before, .option:hover:before {
  opacity: 0.2;
  background: #26ad4b;
}

.cta-btn {
  box-shadow: 0 4px 20px 0 rgba(91,195,102,0.20), 0 1.5px 1.5px 0 rgba(255,255,255,0.12) inset;
}

.cta-btn:active {
  transform: scale(0.97);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 1024px) {
  .container { max-width: 800px; }
  .content-wrapper, .card-container, .feature-list, .service-list, .course-grid, .team-grid, .membership-options, .equipment-list {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-list, .service-list, .team-grid, .membership-options, .equipment-list {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100%; padding: 0 10px; }
  .content-wrapper { gap: 20px; }
  header nav { display: none; }
  .cta-btn { margin-left: 0; margin-top: 8px; }
  .mobile-menu-toggle {
    display: inline-block;
  }
  section { padding: 28px 7px; margin-bottom: 36px; }
  .feature-list, .service-list, .benefit-list, .equipment-list, .course-grid, .team-grid, .membership-options {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .card, .course-item, .team-member, .option { min-width: 0; }
  .text-image-section { flex-direction: column; align-items: center; gap: 16px; }
  .testimonial-card { max-width: 100%; }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  header .container { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  section { padding: 16px 0 21px 0; margin-bottom: 23px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #232D3C;
  box-shadow: 0 -3px 18px rgba(35,45,60,0.13);
  color: #F4EDEA;
  padding: 22px 16px 18px 16px;
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.4s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  max-width: 590px;
  margin-right: 25px;
  color: #F4EDEA;
}
.cookie-banner .cookie-btn {
  background: #5BC366;
  color: #232D3C;
  border: none;
  border-radius: 16px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #26ad4b;
  color: #fff;
  box-shadow: 0 2px 8px rgba(91,195,102,0.17);
}
.cookie-banner .cookie-link {
  color: #F4EDEA;
  text-decoration: underline;
  margin-left: 5px;
  font-size: 0.98rem;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translate(-50%, 100%);
  background: #fff;
  min-width: 330px;
  max-width: 95vw;
  width: 390px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 44px rgba(35,45,60,0.20);
  z-index: 999;
  color: #232D3C;
  padding: 32px 26px 22px 26px;
  transition: transform 0.33s cubic-bezier(.88,.15,.89,.45), opacity 0.18s;
  opacity: 0;
}
.cookie-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 10px 0 13px 0;
}
.cookie-modal .category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232D3C;
  font-weight: 600;
}
.cookie-modal .toggle-switch {
  width: 38px;
  height: 20px;
  background: #EAEEF1;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .toggle-switch[aria-checked="true"] {
  background: #5BC366;
}
.cookie-modal .toggle-handle {
  width: 20px;
  height: 20px;
  background: #5BC366;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  transition: left 0.15s, background 0.15s;
}
.cookie-modal .toggle-switch[aria-checked="true"] .toggle-handle {
  left: 18px;
  background: #26ad4b;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #232D3C;
  font-size: 1.5rem;
  position: absolute;
  top: 24px; right: 20px;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-btn {
  background: #5BC366;
  color: #232D3C;
  border: none;
  border-radius: 12px;
  padding: 8px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .modal-btn:hover, .cookie-modal .modal-btn:focus {
  background: #26ad4b;
  color: #fff;
}
/* Hide the modal if not open */
.cookie-modal:not(.open) {
  pointer-events: none;
}

/* --- MICRO-INTERACTIONS & ANIMATION KEYFRAMES --- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes raise-card {
  from { transform: scale(0.97) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}
.card, .cta-btn, .testimonial-card, .course-item, .team-member, .option {
  animation: raise-card 0.7s cubic-bezier(.76,.32,.17,.96) both;
}
.cta-btn, .cookie-banner .cookie-btn, .cookie-modal .modal-btn {
  transition: background 0.17s, color 0.13s, box-shadow 0.14s, transform 0.14s;
}

/* --- MISC STYLES FOR HIERARCHY & VISUAL FOCUS --- */
hr {
  border: none;
  border-bottom: 1.5px solid #EAEEF1;
  margin: 28px 0;
}
::-webkit-scrollbar {
  height: 7px; width: 7px;
  background: #EAEEF1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #5BC366;
  border-radius: 7px;
}

/* --- SELECTION COLOR --- */
::selection { background: #5BC366; color: #F4EDEA; }

/* --- FORMS, FOCUS, INPUTS (if added later) --- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus, button:focus {
  outline: 2px solid #5BC366;
  outline-offset: 1px;
}

/* --- END --- */
