/* Reset & Normalization */
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, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F2F5F9;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #17436A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #34BC87;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}

/* Typography - Elegant Classic */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', Times, serif;
  color: #17436A;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 15px; font-weight: 600; }
h4, h5, h6 {font-size: 1.05rem; font-weight: 600;}

p, li, blockquote, address {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #222;
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  border-left: 3px solid #34BC87;
  padding: 10px 24px;
  background: #ffffff;
  color: #17436A;
  margin-bottom: 12px;
}

strong { font-weight: bold; color: #17436A; }
hr { border: none; border-top: 1px solid #dadada; margin: 32px 0; }

/* Container Layouts */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Section & Spacing */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(23,67,106,.07);
}
section:last-child, .section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section, .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* Flex Utilities */
.card-container, .features-grid, .services-list, .course-grid, .membership-tiers, .trainer-list, .usp-list, .benefit-list, .perks-list, .facility-highlights, .expertise-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
  list-style: none;
}
.card-container {
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px rgba(23,67,106,.07);
  padding: 24px;
  flex: 1 1 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F2F5F9;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(23,67,106,.08);
  margin-bottom: 24px;
  flex: 1 1 320px;
  color: #17436A;
}
.testimonial-card blockquote {
  color: #17436A;
  font-style: italic;
  font-size: 1.08rem;
  margin: 0;
}
.testimonial-card footer {
  margin-left: 24px;
  color: #222;
  font-size: 0.96rem;
  font-family: inherit;
  opacity: 0.7;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .features-grid, .services-list, .course-grid, .membership-tiers, .trainer-list, .usp-list, .benefit-list, .perks-list, .facility-highlights, .expertise-highlights {
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-grid, .services-list, .course-grid, .membership-tiers {
    flex-direction: column;
    gap: 16px;
  }
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #E8EBED;
  box-shadow: 0 2px 16px rgba(23,67,106,0.03);
  padding: 0;
  margin-bottom: 0;
  position: relative;
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 46px;
  width: auto;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #17436A;
  padding: 6px 2px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #34BC87;
  background: #f8fafb;
}

.btn-primary {
  background: #17436A;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.06rem;
  border-radius: 999px;
  padding: 12px 32px;
  border: none;
  box-shadow: 0 2px 16px rgba(23,67,106,0.12);
  transition: background 0.2s, color 0.2s, transform 0.16s;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  margin-bottom: 0;
  outline: none;
  letter-spacing: .01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #34BC87;
  color: #17436A;
  transform: translateY(-2px) scale(1.025);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #17436A;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1101;
}
@media (max-width: 1000px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.6,.1,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 20px 20px 26px;
  box-shadow: -8px 0 32px rgba(23,67,106,.13);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #17436A;
  margin-bottom: 18px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.13rem;
  color: #17436A;
  padding: 10px 0;
  transition: color 0.18s;
  border-bottom: 1px solid #E8EBED;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #34BC87;
  background: #F2F5F9;
}

@media (min-width:1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hero Section */
.hero-section {
  background: #F2F5F9;
  border-radius: 0 0 24px 24px;
  box-shadow: none;
  border: none;
  margin-bottom: 60px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #17436A;
  margin-bottom: 18px;
}
.hero-section p {
  color: #333;
  margin-bottom: 28px;
  font-size: 1.13rem;
}
@media (max-width: 786px) {
  .hero-section {
    padding-top: 36px;
    padding-bottom: 36px;
    border-radius: 0;
  }
  .hero-section h1 {
    font-size: 1.45rem;
  }
}

/* Features & Cards */
.features-section h2, .about-section h2, .services-section h2 {
  color: #17436A;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.6rem;
}
.features-grid li, .services-list li, .course-grid li, .membership-tiers li, .trainer-list li, .usp-list li, .benefit-list li, .perks-list li, .facility-highlights li, .expertise-highlights li {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 1px 10px 0 rgba(23,67,106,0.08);
  flex: 1 1 260px;
  min-width: 220px;
  font-size: 1rem;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  margin-bottom: 0 !important;
}
.features-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .features-grid li, .services-list li, .course-grid li, .membership-tiers li {
    min-width: 180px;
    padding: 13px 8px 11px 10px;
  }
}
@media (max-width: 650px) {
  .features-grid li, .services-list li, .course-grid li, .membership-tiers li {
    min-width: 0;
    width: 100%;
    padding: 14px 6px 12px 8px;
  }
}

/* About / Text Section */
.text-section {
  margin-bottom: 24px;
  font-size: 1rem;
  color: #222;
}
.text-section img {
  vertical-align: middle;
  height: 22px;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .text-section img {
    height: 20px;
    margin-right: 6px;
  }
}

/* Legal Sections (AGB, Datenschutz…) */
.legal-section {
  background: #fff;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 24px rgba(23,67,106,.06);
}
.legal-section h1, .legal-section h2 {
  color: #17436A;
  font-family: 'Merriweather', 'Georgia', serif;
}
.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}
.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.legal-section .text-section {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: #17436A;
  color: #fff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 26px;
  box-shadow: 0 2px 16px rgba(23,67,106,0.11);
}
.cta-section .btn-primary {
  background: #34BC87;
  color: #17436A;
  margin-top: 16px;
  margin-bottom: 0;
  box-shadow: 0 1px 10px #34BC8720;
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #fff;
  color: #17436A;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .cta-section {
    padding: 22px 12px;
    border-radius: 8px;
  }
}

/* Contact Section */
.contact-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(23,67,106,0.07);
  padding: 32px 20px;
}
.contact-section .content-wrapper {
  align-items: flex-start;
}
.contact-section p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-section img {
  width: 22px;
  margin-right: 8px;
}

/* Footer */
footer {
  background: #17436A;
  color: #fff;
  border-top: 1px solid #E8EBED;
  padding: 36px 0 8px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logos img {
  height: 36px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #E8EBED;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #34BC87;
}
.footer-contact p {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #34BC87;
  text-decoration: underline;
}
footer {
  font-size: 0.98rem;
  margin-top: 44px;
  border-radius: 0;
}
@media (max-width: 900px) {
  footer .container {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logos {
    margin-bottom: 10px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 14vw 22px 24px;
  z-index: 1201;
  box-shadow: 0 -2px 24px rgba(23,67,106,.12);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.64,.21,.93,1), opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner-content {
  flex: 1 1 70%;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Georgia', serif;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  background: #17436A;
  color: #fff;
  border: none;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(23,67,106,0.12);
  transition: background 0.2s, color .2s, box-shadow .18s;
  outline: none;
}
.cookie-btn.settings {
  background: #fff;
  color: #17436A;
  border: 1px solid #17436A;
}
.cookie-btn.reject {
  background: none;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #34BC87;
  color: #17436A;
  border-color: #34BC87;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #17436A;
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 22px 9px;
    font-size: 0.97rem;
  }
  .cookie-banner-actions {
    gap: 7px;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1202;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,67,106,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #17436A;
  border-radius: 18px;
  padding: 38px 34px 28px 34px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 8px 64px rgba(23,67,106,.14);
  z-index: 1203;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInUp .35s cubic-bezier(.6,.04,.3,1);
}
@keyframes fadeInUp {
  0% {opacity:0;transform:translateY(40px);}
  100% {opacity:1;transform:translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.29rem;
  color: #17436A;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #17436A;
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  font-size: 0.96rem;
  color: #34BC87;
  font-style: italic;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 6px 18px 6px;
    max-width: 95vw;
  }
}

/* Animations and Micro-Interactions */
.btn-primary, .cookie-btn {
  transition: background 0.2s, color .18s, transform 0.14s, box-shadow .14s;
}
.card, .testimonial-card, .cookie-modal {
  transition: box-shadow .18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(23,67,106,.12);
  transform: translateY(-3px) scale(1.01);
}

/* Utility Classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.hidden { display: none !important; }

/* Custom Scrollbar for overlay/modal */
.mobile-menu, .cookie-modal {
  scrollbar-color: #17436A #f2f5f9;
  scrollbar-width: thin;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px; background: #f2f5f9;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #17436A; border-radius: 7px;
}

/* Accessibility & Focus State */
a:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #34BC87;
  outline-offset: 2px;
}

/* FORM ELEMENTS (for future forms) */
input, textarea, select {
  font-family: 'Georgia', 'Times New Roman', serif;
  border: 1px solid #ced6db;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  color: #17436A;
  width: 100%;
  box-shadow: 0 1px 6px #17436A10;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #34BC87;
}

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