/* =============================
   CSS RESET & BASE 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 {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #f5f3f0;
  color: #2E2A24;
  -webkit-font-smoothing: antialiased;
}

/* =============================
   VINTAGE RETRO PALETTE & FONTS
============================= */
:root {
  --primary: #16324F;
  --primary-shade: #1E425F;
  --secondary: #4EAB89;
  --secondary-dark: #38896B;
  --accent: #F5F3F0;
  --accent-contrast: #2E2A24;
  --vintage-red: #BB4430;
  --vintage-yellow: #FCD581;
  --vintage-olive: #B4B494;
  --vintage-blue: #6A98A5;
  --vintage-brown: #B89C76;
  --header-pattern: repeating-linear-gradient(135deg, #FCD581 0 8px, transparent 8px 16px);
}
@media (max-width: 768px) {
  html { font-size: 16px; }
}

/* Vintage-inspired fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; color: var(--primary); font-weight: 900; margin-bottom: 18px; text-shadow: 1px 2px 0 #FCD581; }
h2 { font-size: 2rem;  color: var(--vintage-red); font-weight: 700; margin-bottom: 16px; text-shadow: 1px 1px 0 #BB4430BB; }
h3 { font-size: 1.38rem; color: var(--secondary); font-weight: 700; margin-bottom: 10px; }
h4, h5, h6 { color: var(--primary); }

p, ul, ol, li, a, span, table, th, td {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2E2A24;
  font-size: 1rem;
}
strong, b {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
}

.subheadline {
  font-size: 1.13rem;
  color: var(--primary-shade);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
}

/* =============================
   GENERAL LAYOUT & SPACING
============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #e8e1d1cc;
}
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 12px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  .section { padding: 32px 7px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF6EC;
  border: 2px solid var(--vintage-yellow);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #E9DDC4;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s;
  padding: 24px 20px;
}
.card:hover {
  box-shadow: 0 8px 36px -8px var(--secondary-dark);
}

.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;
  margin-bottom: 20px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #FFF9F4;
  border: 2px solid var(--vintage-olive);
  border-radius: 18px;
  box-shadow: 0 2px 16px #E5D6C3;
  padding: 24px 22px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 220px;
  transition: transform 0.18s, box-shadow 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px 0 #B89C76;
  transform: translateY(-6px);
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #412c12;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: var(--vintage-brown);
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5E4C3;
  border: 2px solid var(--vintage-yellow);
  border-radius: 14px;
  box-shadow: 0 1px 11px #ebdfca88;
  padding: 26px 22px;
  margin-bottom: 20px;
  min-width: 200px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, border-color 0.17s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  filter: sepia(25%) contrast(1.02) saturate(1.19);
}
.feature-item:hover {
  border-color: var(--secondary-dark);
  box-shadow: 0 6px 24px #B89C76;
}

.feature-grid, .team-member-teasers, .service-highlights, .facility-highlights, .membership-options, .flexibility-highlights, .course-icons, .blog-teasers, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-member-teasers > div, .membership-options > div, .facility-highlights > div, .service-highlights > div, .blog-teasers > div, .flexibility-highlights > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #FFF6EC;
  border-radius: 12px;
  padding: 22px 19px;
  border: 1.5px dashed var(--vintage-blue);
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .feature-grid, .team-member-teasers, .membership-options, .facility-highlights,
  .flexibility-highlights, .blog-teasers, .service-highlights, .features {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .feature-grid, .team-member-teasers, .membership-options, .facility-highlights,
  .flexibility-highlights, .blog-teasers, .service-highlights, .features {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card, .feature-item, .team-member-teasers > div, .membership-options > div,
  .facility-highlights > div, .flexibility-highlights > div, .service-highlights > div {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container { padding: 0 5px; }
}

ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
  list-style: disc inside;
}
ul.value-list, ul.benefit-list, ul.benefit-highlights, ul.philosophy-points {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
ul.value-list li, ul.benefit-list li, ul.benefit-highlights li, ul.philosophy-points li, .skills-grid ul li {
  background: #f8ecde;
  margin-bottom: 12px;
  padding: 9px 16px 9px 14px;
  border-left: 4px solid var(--primary);
  border-radius: 7px 18px 18px 7px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/***** Table (for Mitgliedschaft) *****/
.price-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFF6EC;
  border-radius: 14px;
  box-shadow: 0 2px 13px #D2BB8870;
  overflow: hidden;
  margin: 24px 0;
}
.price-table th, .price-table td {
  padding: 13px 10px;
  font-size: 1rem;
  text-align: left;
}
.price-table th {
  background: var(--vintage-yellow);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.price-table tr:nth-child(even) td {
  background: #fff;
}
.price-table tr:nth-child(odd) td {
  background: #FCD58122;
}
.price-table td {
  color: #5E5237;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/***** CTA Buttons *****/
.primary-cta, .secondary-cta, .nav-cta, .cookie-banner button, .cookie-modal button {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 12px;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 28px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2px 12px #E1D0C0aa;
}
.primary-cta, .cookie-banner .accept-btn {
  background: var(--vintage-red);
  color: #fff8f4;
  border: 2px solid var(--vintage-red);
}
.primary-cta:hover, .primary-cta:focus, .cookie-banner .accept-btn:hover {
  background: var(--primary);
  color: #FCD581;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 30px #4EAB89cc;
}
.secondary-cta, .cookie-banner .settings-btn {
  background: var(--vintage-yellow);
  color: var(--primary);
  border: 2px solid var(--primary-shade);
}
.secondary-cta:hover, .secondary-cta:focus, .cookie-banner .settings-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary-dark);
  transform: scale(1.03);
}
.nav-cta {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--secondary);
  margin-left: 18px;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--primary);
  color: var(--vintage-yellow);
  border-color: var(--primary);
}

/***** LINKS *****/
a {
  color: var(--vintage-red);
  text-decoration: underline dotted #b89c76 2px;
  transition: color 0.14s, text-decoration-color 0.2s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

/***** HEADER & NAVIGATION *****/
header {
  background: var(--accent);
  border-bottom: 6px solid var(--vintage-yellow);
  box-shadow: 0 1px 16px #DEDDC9;
  padding-top: 0px;
  padding-bottom: 0px;
  position: sticky;
  top: 0;
  z-index: 888;
}
.main-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0 24px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: transparent;
}
.main-navigation a {
  color: var(--primary);
  font-size: 1.06rem;
  padding: 8px 12px;
  border-radius: 16px;
  transition: background 0.15s, color 0.16s;
  text-decoration: none;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #FCD58133;
  color: var(--vintage-red);
}
.main-navigation .nav-cta {
  margin-left: auto;
  margin-right: 0;
}
.main-navigation img {
  height: 47px;
  width: auto;
  margin-right: 16px;
  margin-bottom: -7px;
}

/***** MOBILE HEADER NAV *****/
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 1010;
  margin: 0 20px 0 0;
  transition: color 0.18s, transform 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--vintage-red);
  transform: scale(1.09);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245, 243, 240, 0.98);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -6px 0 20px #a55f35a4;
  padding: 0 0 0 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--vintage-red);
  background: none;
  border: none;
  padding: 18px 22px 1px 1px;
  cursor: pointer;
  transition: color 0.18s, transform 0.14s;
  align-self: flex-end;
  margin: 0 10px 6px 0;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--primary-shade);
  transform: rotate(12deg) scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 45px 30px 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary-shade);
  background: #fde7cd;
  border-radius: 14px;
  padding: 16px 25px;
  font-size: 1.15rem;
  text-decoration: none;
  margin-bottom: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--vintage-red);
}

@media (max-width: 1100px) {
  .main-navigation { gap: 13px; }
}
@media (max-width: 950px) {
  .main-navigation { gap: 8px; }
}
@media (max-width: 900px) {
  .main-navigation a { font-size: 1.01rem; padding: 5px 8px; }
}
@media (max-width: 800px) {
  .main-navigation img { height: 36px; margin-right: 8px; }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-top: 16px;
    margin-right: 20px;
    position: absolute;
    top: 11px;
    right: 0;
    background: none;
  }
}

/* =============================
      FOOTER
============================= */
footer {
  background: var(--primary);
  color: #fff9ee;
  padding: 40px 0 20px;
  margin-top: 48px;
  box-shadow: 0 -2px 16px #D2BB8870;
}
footer span {
  color: white;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
}
.footer-nav a {
  color: var(--vintage-yellow);
  text-decoration: underline dotted #f8eec0 1.4px;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact img {
  height: 23px;
  width: 23px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-contact p {
  color: #f8f8f8;
  margin-bottom: 6px;
}
.footer-social {
  font-size: 0.95rem;
  color: #F5F3F0;
  margin-bottom: 0;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 840px) {
  .footer-nav, .footer-contact, .footer-social {
    gap: 9px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================
   MISC & DECORATIVE ELEMENTS
============================= */
/* Vintage pattern for hero sections */
.section:nth-child(odd) {
  background: repeating-linear-gradient(135deg, #FCF3E3 0 8px, #F5F3F0 8px 16px);
}

blockquote, .featured-story {
  background: #fcd58127;
  border-left: 7px solid var(--primary-shade);
  font-size: 1.13rem;
  margin: 27px 0;
  padding: 18px 26px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #683a1a;
  border-radius: 12px 18px 8px 20px;
}

.categories-filter {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; margin-bottom: 16px;
}
.categories-filter span {
  color: var(--vintage-red); font-size: 1.04rem; font-weight: 700;
}
.categories-filter a {
  background: #ffeec6; color: var(--primary-shade);
  border-radius: 10px; padding: 5px 13px; margin-right: 4px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 0.96rem;
  text-decoration: none; border: 1px solid var(--vintage-yellow);
  transition: background 0.16s, color 0.14s;
}
.categories-filter a:hover {
  background: var(--primary); color: var(--vintage-yellow);
}

/***** Forms (Newsletter-CTA placeholder) *****/
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 7px;
  border: 1.5px solid var(--primary);
  background: #F8ECE1;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--secondary-dark);
  outline: none;
}

/***** Miscellaneous helpers *****/
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.shadow-card {
  box-shadow: 0 1px 11px #cbb5964c;
  border-radius: 18px;
}

/* =============================
       COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #F5E4C3;
  border-top: 4px solid var(--vintage-yellow);
  box-shadow: 0 -3px 16px #fcd58177;
  padding: 22px 9% 22px 7%;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: cookieBannerIn 0.85s cubic-bezier(.18,1.1,.82,1.22);
  opacity: 1;
  transition: opacity 0.23s;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(30%); opacity:0; }
  100% { transform: none; opacity:1; }
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--primary-shade);
  margin-right: 18px;
  max-width: 65vw;
}
.cookie-banner button {
  margin-left: 10px;
  font-size: 1rem;
  min-width: 114px;
}
.cookie-banner .reject-btn {
  background: var(--vintage-olive);
  color: var(--primary-shade);
  border: 2px solid var(--primary-shade);
}
.cookie-banner .reject-btn:hover {
  background: var(--vintage-red);
  color: #fff;
}
.cookie-banner .accept-btn {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--secondary);
}

/***** Cookie Settings Modal *****/
.cookie-modal {
  display: none;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2150;
  background: rgba(128, 96, 70, 0.25);
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.19,1.2,.22,1);
}
@keyframes cookieModalIn {
  0% { opacity:0; transform: scale(1.08) translateY(30px); }
  100% { opacity:1; transform: none; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #FFF6EC;
  border-radius: 16px;
  box-shadow: 0 6px 44px #E5CEA2;
  padding: 38px 32px 26px 32px;
  min-width: 280px;
  max-width: 94vw;
  border: 3px solid var(--vintage-yellow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-size: 1.24rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-categories label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-categories label input[type="checkbox"] {
  accent-color: var(--secondary-dark);
  margin-right: 5px;
}
.cookie-close-modal {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--vintage-red);
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.13s, transform .15s;
}
.cookie-close-modal:hover, .cookie-close-modal:focus {
  color: var(--primary-shade);
  transform: scale(1.1);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 2px;
}
.cookie-modal button {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .cookie-banner { flex-direction: column; padding: 19px 3% 19px 3%; }
  .cookie-banner p { max-width: 99vw; margin-bottom: 12px; }
  .cookie-banner button { min-width: 100px; }
  .cookie-modal-content { padding: 18px 4vw 16px 4vw; }
}

/* =============================
   ANIMATIONS & MICROINTERACTIONS
============================= */
.card, .feature-item, .testimonial-card,
.blog-teasers > div, .team-member-teasers > div, .membership-options > div {
  transition: box-shadow 0.19s, transform 0.18s, border-color 0.15s;
}
.card:active, .feature-item:active, .testimonial-card:active,
.blog-teasers > div:active, .team-member-teasers > div:active, .membership-options > div:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px #a8956e9a;
}

/**** UTILITY CLASSES / CLEARINGS ****/
.clearfix::after { content: ""; display: table; clear: both; }
.mt-2 { margin-top: 2px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/**** RESPONSIVE SPACING PER PAGES (last, for specificity) ****/
@media (max-width: 750px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.20rem; }
  h3 { font-size: 1.07rem; }
  .section { padding: 21px 0; }
  .content-wrapper { gap: 12px; }
}

/**** ENSURE NO OVERLAPS & CRUCIAL GAP SPACING (enforced) ****/
.section, .content-wrapper, .card-container, .content-grid, .feature-grid, .team-member-teasers, .service-highlights, .facility-highlights, .membership-options, .flexibility-highlights, .features, .testimonials {
  gap: 20px !important;
}
.card, .feature-item, .testimonial-card, .team-member-teasers > div,.membership-options > div, .facility-highlights > div, .service-highlights > div {
  margin-bottom: 20px !important;
}

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