/* --------------------------------------------------
   CSS RESET & BASELINE NORMALIZE
-------------------------------------------------- */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #191a1e;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: #191a1e;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #191a1e;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  line-height: 1.23;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.33;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #28292e;
}
strong {
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, .button-primary, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  background: #191a1e;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.28s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  outline: 0;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.button-primary {
  background: #191a1e;
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,16,16,0.09);
}
.button-primary:hover, .button-primary:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 36px 0 rgba(0,0,0,0.13);
}
.button-secondary {
  background: #fff;
  color: #191a1e;
  border: 1.5px solid #191a1e;
}
.button-secondary:hover, .button-secondary:focus {
  background: #222;
  color: #fff;
  border-color: #111;
}
.button {
  background: #f9f9f9;
  color: #191a1e;
  border: 1px solid #191a1e;
}
.button:hover, .button:focus {
  background: #222;
  color: #fff;
  border-color: #111;
}
/* Visually hidden utility for accessibility */
.visually-hidden {
  border: 0!important;
  clip: rect(0 0 0 0)!important;
  height: 1px!important; 
  margin: -1px!important; 
  overflow: hidden!important; 
  padding: 0!important; 
  position: absolute!important; 
  width: 1px!important; 
}
/* --------------------------------------------------
   MONOCHROME SOPHISTICATED PALETTE
-------------------------------------------------- */
:root {
  --sb-primary: #191a1e; /* Almost black main */
  --sb-secondary: #55575a; /* Deep gray */
  --sb-bg: #ffffff; /* main background */
  --sb-alt-bg: #f6f7f9; /* section alt background */
  --sb-light: #ececec; /* light gray accents */
  --sb-dark: #111216; /* real black for special accents */
  --sb-link: #1b1c22;
  --sb-accent: #cfcfcf; /* subtle border accent */
  --brand-blue: #15577A; /* brand primary for interactive accent only */
  --brand-green: #58A438;
  --brand-yellow: #FAD95B;
}

/* --------------------------------------------------
   LAYOUT CONTAINERS & SPACING
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
section {
  background: var(--sb-bg);
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 2px 24px 0 rgba(32,32,36,0.03);
  transition: box-shadow 0.22s;
}
section:hover {
  box-shadow: 0 8px 48px 0 rgba(16,16,16,0.10);
}
/* Cards & Features Flex Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 16px 0 rgba(16,16,16,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: #fafbfc;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 36px 0 rgba(16,16,16,0.08);
  color: #211f21;
  filter: saturate(0.87);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}
.trainer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.trainer-list > div {
  background: #f9f9fa;
  border: 1.5px solid #e4e5e7;
  border-radius: 9px;
  padding: 20px 17px;
  min-width: 200px;
  flex: 1 1 180px;
}
.timetable-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  background: #fcfcfd;
  box-shadow: 0 1px 7px 0 rgba(40,40,42,0.04);
  border-radius: 10px;
  overflow: hidden;
}
.timetable-grid th, .timetable-grid td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #e8e9ec;
}
.timetable-grid th {
  background: #f4f4f8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #232329;
  font-size: 1rem;
}
.timetable-grid tr:last-child td {
  border-bottom: none;
}
.tag {
  display: inline-block;
  padding: 4px 11px;
  background: #e6e6e8;
  color: #555;
  border-radius: 99px;
  font-size: 0.97em;
  margin-left: 6px;
}
.availability-chip {
  display: inline-block;
  padding: 5px 14px;
  background: #e6e6e8;
  color: #191a1e;
  border-radius: 99px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01em;
  font-weight: 500;
  margin-bottom: 10px;
}
/* --------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 22px 0 rgba(30,30,32,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 22px 20px;
}
header a img {
  height: 41px;
  width: auto;
  margin-right: 20px;
  transition: filter 0.15s;
  filter: grayscale(1) contrast(1.25);
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-right: auto;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #191a1e;
  text-decoration: none;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.17s, color 0.19s, box-shadow 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #191a1e;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}
header .button-primary {
  margin-left: 12px;
  border-radius: 20px;
  box-shadow: 0 1px 10px 0 rgba(16,16,16,0.08);
  font-size: 1.10rem;
  padding: 10px 23px;
}
/* --------------------------------------------------
   MOBILE NAVIGATION
-------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.15rem;
  color: #191a1e;
  padding: 8px 8px 8px 12px;
  cursor: pointer;
  border: none;
  border-radius: 7px;
  transition: background 0.19s;
  z-index: 99;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #191a1e;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,.35,.08,1.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.6rem;
  padding: 10px 18px;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 22px;
  transition: color 0.15s, background 0.15s;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ececec;
  color: #191a1e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
  margin-top: 26px;
  margin-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 12px 4px;
  border-radius: 7px;
  display: inline-block;
  transition: color 0.19s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #191a1e;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: #18181b;
  padding: 50px 0 0 0;
  color: #ececec;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 30px;
}
footer a img {
  height: 33px;
  width: auto;
  margin-right: 18px;
  filter: grayscale(1) contrast(1.1);
}
footer nav {
  display: flex;
  gap: 22px;
  flex-direction: column;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #ececec;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fafbfc;
  text-decoration: underline;
}
.footer-contact {
  margin-left: auto;
  color: #ececec;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.footer-contact img {
  width: 19px;
  height: auto;
  vertical-align: middle;
  filter: grayscale(1) contrast(1);
  margin-right: 7px;
}
.footer-contact p{
  color: white;
}
/* --------------------------------------------------
   SUBTLE INTERACTIONS
-------------------------------------------------- */
section a.button-primary:any-link, .button-primary:any-link {
  box-shadow: 0 2px 20px 0 rgba(16,16,16,0.06);
}
section a.button-primary:any-link:active {
  box-shadow: 0 0 0 2px #232329 inset;
}
.card, .testimonial-card, .trainer-list > div {
  transition: transform .12s cubic-bezier(0.42,0,0.58,1), box-shadow 0.21s;
}
.card:hover, .testimonial-card:hover, .trainer-list > div:hover {
  transform: translateY(-2px) scale(1.017);
  box-shadow: 0 8px 44px 0 rgba(36,36,36,0.13);
}
.feature-grid > div:hover img {
  filter: brightness(1.13);
}
ul li::marker {
  color: #111a1d;
}
/* --------------------------------------------------
   TYPOGRAPHY SCALE
-------------------------------------------------- */
.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #42424a;
  font-weight: 600;
  margin-bottom: 11px;
}
table, th, td {
  font-size: 1rem;
  color: #18181b;
}
h1, h2, .subheadline {
  background: transparent;
}
h1, h2 {
  margin-bottom: 8px;
}
/* --------------------------------------------------
   MISC. UTILS & ELEMENTS
-------------------------------------------------- */
address {
  font-style: normal;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #353549;
}
address a { color: #15577A; text-decoration: underline; }
address img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
img[alt*="icon"] {
  filter: grayscale(1) brightness(0.7) contrast(1.17);
  margin-right: 7px;
}
img[alt*="Bewertung"] {
  filter: grayscale(.6) brightness(1.2);
  margin-left: 3px;
}

/* --------------------------------------------------
   RESPONSIVE ADJUSTMENTS
-------------------------------------------------- */
@media (max-width: 1023px) {
  .container {
    gap: 20px;
    padding: 0 14px;
    max-width: 98vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.02rem;
  }
  section {
    padding: 21px 8px;
    margin-bottom: 36px;
  }
  .trainer-list, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card, .trainer-list > div, .testimonial-card {
    min-width: unset;
    width: 100%;
    padding: 14px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px;
    padding: 13px 8px;
  }
  header nav {
    display: none;
  }
  header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 540px) {
  footer {
    padding: 30px 0 0 0;
  }
  section {
    padding: 10px 3px;
    margin-bottom: 19px;
  }
  .testimonial-card, .trainer-list > div, .card {
    padding: 8px 4px;
  }
  .availability-chip {
    font-size: .98em;
    padding: 4px 8px;
  }
}
/* Show mobile menu overlay on small screens only */
@media (max-width: 1023px) {
  .mobile-menu {
    display: flex;
  }
}
/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 -2px 14px 0 rgba(40,40,48,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 22px 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #191a1e;
  animation: cookiebanner-in .5s cubic-bezier(.48,.03,.53,1.09);
}
@keyframes cookiebanner-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #252529;
  flex: 1 1 220px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner .cookie-btn {
  padding: 10px 20px;
  border-radius: 15px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  background: #191a1e;
  color: #fff;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 10px 0 rgba(16,16,16,0.07);
  cursor: pointer;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #191a1e;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #ececec;
  color: #191a1e;
  border: 1px solid #191a1e;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #191a1e;
  border: 1px solid #191a1e;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: #111;
  color: #fff;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(0,0,0,0.49);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #191a1e;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 48px 0 rgba(30,30,40,0.19);
  min-width: 280px;
  max-width: 96vw;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiemodal-in .3s cubic-bezier(0.44,0.14,0.43,1.06);
}
@keyframes cookiemodal-in {
  from { transform: scale(.98) translateY(20px); opacity:0; }
  to   { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.29rem;
  font-weight: 600;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 500;
  color: #252529;
}
.cookie-category input[type="checkbox"] {
  accent-color: #191a1e;
  width: 19px;
  height: 19px;
}
.cookie-category .cookie-essential {
  font-style: italic;
  color: #6b6b6e;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 18px;
  background: transparent;
  border: none;
  color: #191a1e;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 6010;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #444;
}

/* Responsive cookie banner styles */
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 8px;
    font-size: .99rem;
  }
}
@media (max-width: 440px) {
  .cookie-modal {
    padding: 15px 5px 8px 8px;
  }
}
/* Optional accessibility helpers */
:focus {
  outline: 2px dashed #22294a;
  outline-offset: 1px;
}
::-webkit-input-placeholder { color: #74757d; }
::-moz-placeholder { color: #74757d; }
:-ms-input-placeholder { color: #74757d; }
::placeholder { color: #74757d; }
/* --------------------------------------------------
   PRINT OPTIMIZATION
-------------------------------------------------- */
@media print {
  *, *:before, *:after { background: none !important; color: #212121 !important; box-shadow: none !important; text-shadow: none !important; }
  nav, header, footer, button, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  section { box-shadow: none !important; border-radius: 0 !important; }
}
