/* =======================================================
   CSS RESET & NORMALIZE (ESSENTIALS)
   ======================================================= */
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;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f7f8fa;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #204685;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B39C61;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}

/* =======================================================
   BRAND COLOR VARIABLES & FALLBACKS
   ======================================================= */
:root {
  --color-primary: #204685;
  --color-secondary: #51B39A;
  --color-accent: #F8F8F8;
  --color-gold: #B39C61;
  --color-dark: #181818;
  --color-light: #fff;
  --color-neutral: #ececec;
  --color-muted: #73829c;
  --color-shadow: rgba(32, 70, 133, 0.08);
}

/* =======================================================
   TYPOGRAPHY - luxury_premium aesthetic
   ======================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.16;
}
h2 {
  font-size: 2rem;   /* 32px */
  line-height: 1.19;
}
h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.25;
}
h4 {
  font-size: 1.25rem;/* 20px */
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

p, ul, ol, li, td, th, span, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
}

/* Luxury accents */
h1, h2, .cta, .cta-nav {
  color: var(--color-primary);
}
h2 {
  border-left: 5px solid var(--color-gold);
  padding-left: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

/* =======================================================
   CONTAINER, WRAPPER & GENERAL LAYOUT
   ======================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/* =======================================================
   HEADER & NAVIGATION (luxury_premium)
   ======================================================= */
header {
  background: var(--color-light);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo img {
  height: 48px;
  min-width: 120px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  color: var(--color-dark);
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cta-nav {
  background: var(--color-gold);
  color: var(--color-dark) !important;
  margin-left: 8px;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(179, 156, 97, 0.15);
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}
.cta-nav:hover, .cta-nav:focus {
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(32, 70, 133, 0.16);
}

/* Hide nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

/* Mobile burger button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-light);
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  z-index: 300;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ece8da;
  color: var(--color-gold);
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,250, 0.97);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.2s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: -8px 0 32px -8px var(--color-shadow);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-light);
  border: none;
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  margin: 32px 28px 12px 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  transition: background 0.18s, color 0.18s;
  z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ece8da;
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin: 0 32px;
}
.mobile-nav a {
  width: 100%;
  text-align: right;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 16px 0;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-accent);
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
  color: var(--color-gold);
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

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

/* =======================================================
   HERO SECTION & LUXURY EFFECT (index, kurse, personal-training, wellness-sauna, probetraining)
   ======================================================= */
.hero {
  background: #fff;
  background-clip: padding-box;
  box-shadow: 0 2px 24px rgba(32, 70, 133, 0.04);
  border-bottom: 6px solid var(--color-gold);
  padding: 56px 0 44px 0;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
  gap: 16px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  letter-spacing: 0.015em;
  font-weight: 700;
}
.hero h2 {
  color: var(--color-gold);
  font-size: 1.35rem;
  text-transform: none;
  font-weight: 600;
}
.hero p {
  font-size: 1.12rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 0 22px 0;
  }
  .hero .content-wrapper {
    padding: 0;
  }
}

/* =======================================================
   FLEXBOX LAYOUTS - SECTION CONTAINERS
   ======================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32, 70, 133, 0.07);
  padding: 28px 20px;
  flex: 1 1 280px;
  min-width: 220px;
  border: 1.5px solid var(--color-accent);
  transition: box-shadow 0.18s, border 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px rgba(32, 70, 133, 0.15);
  border: 1.5px solid var(--color-gold);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.feature-grid, .service-list, .service-grid, .course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  margin-bottom: 15px;
}
.feature-grid li, .service-list li, .service-grid li, .course-grid li {
  background: #fff;
  border-radius: 13px;
  padding: 24px 20px 16px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  box-shadow: 0 1px 8px rgba(32, 70, 133, 0.06);
  border-left: 4px solid var(--color-gold);
  margin-bottom: 8px;
  font-size: 1rem;
}
.feature-grid li img {
  width: 32px; height: 32px; margin-right: 12px; vertical-align: middle;
}

/* Utility for feature-item, testimonials, etc */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .service-grid, .course-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* =======================================================
   TESTIMONIALS
   ======================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 30px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(32, 70, 133, 0.07);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-gold);
  min-width: 260px;
  max-width: 620px;
  color: #181818;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #222;
}
.testimonial-card span {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* Ensure readable text on light bg */
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 10px;
  }
}

/* =======================================================
   CTA BUTTONS & AREAS (luxury)
   ======================================================= */
.cta, .cta-area a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.13rem;
  border-radius: 28px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0px 2px 10px 0px rgba(179,156,97,0.09);
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.13s, box-shadow 0.2s;
  margin-top: 16px;
  border: 2px solid transparent;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0px 8px 20px 0 rgba(32, 70, 133, 0.08);
  transform: translateY(-2px) scale(1.03);
  border: 2px solid var(--color-gold);
}
.cta-area {
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(32,70,133,0.05);
  margin: 44px 0 24px 0;
  padding: 36px 0;
}
.cta-area h2 {
  color: var(--color-gold);
  margin-bottom: 16px;
}
.cta-area ul {
  margin-bottom: 18px;
  margin-top: 6px;
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 12px;
  position: relative;
  margin-top: 34px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s, text-decoration 0.15s;
  text-decoration: none;
  position: relative;
}
.footer-nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0%;
  background: var(--color-gold);
  transition: width 0.17s;
  border-radius: 1.5px;
}
.footer-nav a:hover:after, .footer-nav a:focus:after {
  width: 80%;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
}
footer p {
  color: #ececec;
  font-size: 0.98rem;
  font-weight: 400;
}

@media (max-width: 600px) {
  footer {
    padding: 22px 0 8px;
  }
  .footer-nav {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
}

/* =======================================================
   PRICING TABLES & TABLES
   ======================================================= */
.pricing-table, table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(32,70,133,0.05);
  overflow: hidden;
  margin-bottom: 24px;
  margin-top: 8px;
}
.pricing-table th, .pricing-table td, table th, table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 1rem;
}
.pricing-table th, table th {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pricing-table tr:nth-child(even), table tr:nth-child(even) {
  background: var(--color-accent);
}
.pricing-table tr:hover, table tr:hover {
  background: #ececec;
}
@media (max-width: 600px) {
  .pricing-table th, .pricing-table td, table th, table td {
    padding: 8px 6px;
    font-size: 0.95rem;
  }
}

/* =======================================================
   FORMS & INPUTS (if used)
   ======================================================= */
input, textarea, select {
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 2px 8px 0 rgba(179, 156, 97, 0.06);
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 500;
  display: block;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 99998;
  background: #fff9ef;
  border-top: 2.5px solid var(--color-gold);
  box-shadow: 0 -2px 12px 0 rgba(32,70,133,0.05);
  padding: 22px 18px 18px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  animation: slideUpCookie 0.45s cubic-bezier(.33,1.02,.61,.98);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-consent-banner p {
  flex: 1 1 0;
  color: var(--color-primary);
  font-size: 1.03rem;
}
.cookie-btn {
  display: inline-block;
  margin: 0 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  padding: 10px 26px;
  border-radius: 28px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 600;
  border: 1.5px solid var(--color-gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.18s, box-shadow 0.17s;
  box-shadow: 0 1px 7px 0 rgba(179,156,97,0.06);
}
.cookie-btn.cookie-settings {
  background: var(--color-light);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
  border: 1.5px solid var(--color-primary);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 8px 16px 12px;
  }
  .cookie-btn {
    display: block;
    margin: 7px 0 0 0;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;width: 100vw; height: 100vh;
  background: rgba(32, 70, 133, 0.37);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.31s cubic-bezier(.33,1.02,.61,.98);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 420px;
  padding: 30px 32px 24px 32px;
  box-shadow: 0 8px 48px 0 rgba(32,70,133,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scaleInCookieModal 0.37s cubic-bezier(.33,1.02,.61,.98);
}
@keyframes scaleInCookieModal {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category label {
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 36px; height: 20px; display: inline-block;
  position: relative;
  background: var(--color-accent);
  border-radius: 10px;
  transition: background .18s;
  cursor: pointer;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2.2px; top: 2.2px;
  width: 16px; height: 16px;
  background: var(--color-neutral);
  border-radius: 50%;
  transition: transform .19s, background .21s;
}
.cookie-toggle input[type='checkbox']:checked + .slider {
  transform: translateX(16px);
  background: var(--color-gold);
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-gold);
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 16px 10px 14px;
    max-width: 99vw;
  }
  .cookie-modal-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

/* =======================================================
   ANIMATIONS & HOVER EFFECTS (micro-interactions)
   ======================================================= */
.card, .feature-grid li, .service-grid li {
  transition: box-shadow 0.19s, border-color 0.21s, transform 0.17s;
}
.card:hover, .feature-grid li:hover, .service-grid li:hover {
  box-shadow: 0 6px 18px 0 rgba(179,156,97,0.13);
  border-color: var(--color-gold);
  transform: translateY(-3px) scale(1.018);
  z-index: 1;
}

.cta, .cta-nav {
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.13s;
}
.cta:active, .cta-nav:active, .cookie-btn:active {
  transform: scale(0.98);
}

nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.13s, background 0.12s;
}

/* micro-interaction for list */
ul li {
  position: relative;
  padding-left: 0.8em;
  margin-bottom: 6px;
}
ul li:before {
  content: '\2022';
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-size: 1.17em;
  top: 0;
  line-height: 1.5;
}
.feature-grid li:before, .service-grid li:before, .course-grid li:before {
  content: "";
  display: none;
}

/* =======================================================
   RESPONSIVE ADJUSTMENTS
   ======================================================= */
@media (max-width: 1050px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 4vw;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .content-wrapper {
    gap: 14px;
  }
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.15rem;}
  .card, .feature-grid li, .service-list li, .service-grid li, .course-grid li {
    padding: 14px 10px 9px 10px;
    min-width: 0;
    font-size: 0.98rem;
  }
  .footer-nav {
    gap: 11px;
    font-size: 0.94rem;
  }
}

/* Ensure no absolute positioning on cards/sections */
.card, .feature-grid li, .service-grid li, .testimonial-card {
  position: relative;
}

/* Avoid content overlap: use margins/gap always */
section, .cta-area, .feature-grid, .service-grid, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* =======================================================
   Z-INDEX LAYERING FOR MODALS/MENUS
   ======================================================= */
.mobile-menu,
.mobile-menu-close { z-index: 9999; }
.cookie-modal-overlay { z-index: 99999; }

/* =======================================================
   HIDE ``from print''
   ======================================================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner {display:none !important;}
}
