/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #13315C;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #13315C;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #E52B50;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  margin-bottom: 16px;
  color: #13315C;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 1px;
}
h2 {
  font-size: 1.75rem;
  margin-top: 16px;
  font-weight: 600;
  color: #E52B50;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #13315C;
}
h4, h5, h6 {
  font-weight: 500;
}
p {
  margin-bottom: 16px;
  color: #233C5A;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* === BRAND COLOR VARIABLES === */
:root {
  --primary: #13315C;
  --secondary: #FFD100;
  --accent: #E52B50;
  --background: #fff;
  --gray-light: #F6F8FB;
  --gray-medium: #B6BCCC;
  --success: #4FD16E;
  --danger: #E52B50;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-light);
  border-radius: 24px;
  box-shadow: 0 6px 36px rgba(19, 49, 92, 0.08);
  position: relative;
  transition: box-shadow 0.3s;
}
.section:last-child {
  margin-bottom: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  color: #fff;
  width: 100%;
  z-index: 100;
  position: sticky;
  top: 0;
  box-shadow: 0 3px 16px rgba(19,49,92,0.07);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  flex-wrap: wrap;
}
header nav > a img {
  height: 40px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav ul li {
  list-style: none;
}
header nav ul a {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #fff;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
header nav ul a:hover, header nav ul a:focus {
  color: var(--secondary);
  background: rgba(255,209,0,0.14);
  transform: scale(1.07) rotate(-2deg);
}
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 40px;
  box-shadow: 0 2px 12px rgba(229,43,80, 0.14);
  margin-left: 20px;
  transition: background 0.22s, color 0.14s, transform 0.15s, box-shadow 0.21s;
  border: 2px solid transparent;
  position: relative;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
  z-index: 2;
}
.cta-btn:hover,.cta-btn:focus {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06) rotate(-2.5deg);
  box-shadow: 0 4px 32px 2px rgba(229,43,80, 0.24);
  border: 2px solid var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 110;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(229,43,80,0.10);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 24px 2px rgba(229,43,80,0.14);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77,0.2,0.05,1.0);
  box-shadow: -8px 0 18px rgba(19,49,92,0.13);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.14s;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 21px 20px 0;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 20px 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  border-radius: 9px;
  padding: 11px 9px 11px 2px;
  transition: background 0.13s, color 0.13s, transform 0.15s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #E52B50;
  transform: scale(1.035) rotate(2deg);
}

/* === HERO & PAGE SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
section .container {
  padding: 0 14px;
}

/* === FEATURES GRID === */
.features-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(19,49,92,0.10);
  padding: 28px 22px;
  min-width: 230px;
  max-width: 300px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.16s, background 0.18s;
  margin-bottom: 20px;
  position: relative;
  min-height: 260px;
}
.features-grid > div:hover {
  background: var(--secondary);
  box-shadow: 0 5px 36px rgba(229,43,80,0.11);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
}
.features-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 18px;
  filter: drop-shadow(0 1px 6px rgba(229,43,80,0.11));
}
.features-grid h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
}
/* For Angebote – price under h3 */
.features-grid strong { color: var(--accent); font-size: 1.09rem; }

/* === GENERAL FLEX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(19,49,92,0.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(229,43,80,0.12);
  transform: scale(1.022) rotate(-1.5deg);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px 20px 36px;
  background: #fffbe7;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(19,49,92,0.10);
  font-size: 1.08rem;
  margin-bottom: 24px;
  border-left: 7px solid var(--accent);
  position: relative;
  transition: box-shadow 0.17s, background 0.14s;
}
.testimonial-card:hover {
  background: #FFFAF2;
  box-shadow: 0 4px 32px 2px rgba(229,43,80,0.13);
}
.testimonial-card p {
  color: #13315C;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card strong {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  color: var(--accent);
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #5d5c61;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
/*.testimonial-list > .testimonial-card:not(:last-child) { margin-right: 8px; }*/

/* === BLOG + TRAINER LISTS === */
.blog-list,
.trainer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.blog-list .text-section,
.trainer-list .text-section {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(19,49,92,0.11);
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, background 0.13s;
}
.blog-list .text-section:hover,
.trainer-list .text-section:hover {
  background: #FFD10022;
  box-shadow: 0 3px 16px rgba(229,43,80,0.14);
}

.blog-list a {
  color: var(--accent);
  font-weight: bold;
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-top: 14px;
  align-self: flex-start;
  padding: 6px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.16s, color 0.14s;
}
.blog-list a:hover,
.blog-list a:focus {
  color: var(--primary);
  border-color: var(--accent);
}

/* === TEXT-SECTIONS === */
.text-section {
  background: #fff;
  padding: 26px 18px 18px 28px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(229,43,80,0.06);
  margin-bottom: 20px;
  color: #13315C;
  font-size: 1.08rem;
  transition: box-shadow 0.15s;
}
.text-section ul {
  margin: 10px 0 18px 0;
  padding-left: 20px;
}
.text-section ul li {
  list-style: disc;
  margin-bottom: 9px;
  font-size: 1.02rem;
  color: #4f4f53;
  font-family: 'Roboto', Arial, sans-serif;
}

.text-section h3 {
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 18px;
}
.text-section a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}
.text-section a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* === MAP SNIPPET & DECORATIVE ELEMENTS === */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 0 0;
  background: #FFD10012;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
}
.map-snippet img {
  height: 29px;
  width: 29px;
}

/* === FEATURE ITEM FLEX === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 0 0 20px 0;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 28px 0 20px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  margin-bottom: 7px;
}
footer nav a {
  color: #FFD100;
  margin: 0 5px;
  font-size: 1rem;
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  font-weight: 400;
  transition: color 0.12s;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #FFD100;
  font-size: 0.98rem;
  margin-top: 3px;
}
.footer-brand img {
  height: 23px;
  filter: drop-shadow(0 1px 8px #FFD10080);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #fffde7;
  border-top: 5px solid var(--accent);
  box-shadow: 0 -3px 25px rgba(19,49,92,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 18px 22px;
  transition: transform 0.23s, opacity 0.19s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1;
  color: var(--primary);
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.12s, box-shadow 0.13s, transform 0.13s;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: var(--success);
  color: #fff;
  box-shadow: 0 1px 10px #4FD16E13;
}
.cookie-btn.accept:hover {
  background: #68ec91;
  color: #13315C;
}
.cookie-btn.reject {
  background: #E52B50;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #b3002d;
  color: #FFD100;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings:hover {
  background: #fff1a1;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(19,49,92,0.18);
  z-index: 2600;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-content {
  background: #fff;
  color: #13315C;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(19,49,92,0.20);
  padding: 36px 32px 26px 32px;
  min-width: 300px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: slideDown 0.31s cubic-bezier(0.66,0.25,0.33,1.2);
}
@keyframes slideDown { from {transform: translateY(-70px); opacity: 0;} to { transform: translateY(0); opacity: 1;} }
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal-close {
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-option {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  gap: 10px;
}
.cookie-option label {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  color: var(--accent);
  margin-right: 6px;
}
.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  border-radius: 7px;
  margin-right: 7px;
  cursor: pointer;
}
.cookie-option input[disabled] {
  filter: grayscale(1) opacity(0.5);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* === TYPOGRAPHY SCALE === */
:root {
  --font-xs: 0.89rem;
  --font-sm: 1rem;
  --font-md: 1.13rem;
  --font-lg: 1.45rem;
  --font-xl: 2rem;
  --font-xxl: 2.85rem;
}


/* === PLAYFUL DYNAMIC ANIMATION EFFECTS === */
@keyframes cta-bounce {
  0% { transform: scale(1); }
  20% { transform: scale(1.07) rotate(-3deg); }
  40% { transform: scale(0.96) rotate(2deg); }
  70% { transform: scale(1.04) rotate(-2deg); }
  100% { transform: scale(1); }
}
.cta-btn:active {
  animation: cta-bounce 0.35s;
}
@keyframes card-float {
  0% { transform: translateY(0px); }
  60% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}
.features-grid > div:hover, .blog-list .text-section:hover {
  animation: card-float 0.44s;
}

/* Fun colorful underline for h2 */
h2 {
  position: relative;
  display: inline-block;
}
h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 6px;
  margin-top: 5px;
  border-radius: 4px;
  background: var(--secondary);
  background-blend-mode: lighten;
  position: relative;
  left: 0;
}

/* Playful font for accent text */
.accent {
  color: var(--accent);
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .features-grid { gap: 16px; }
  .card-container { gap: 16px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 5vw;
  }
  .content-wrapper {
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header nav ul {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .features-grid,
  .card-container,
  .blog-list,
  .trainer-list,
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  section,
  .section {
    margin-bottom: 32px;
    padding: 24px 0;
    border-radius: 15px;
  }
  .features-grid > div, .blog-list .text-section, .trainer-list .text-section {
    min-width: 0;
    max-width: 100vw;
    margin-bottom: 16px;
  }
  .testimonial-card {
    padding: 18px 12px 12px 15px;
    font-size: 1rem;
    border-left-width: 4px;
    border-radius: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .map-snippet {
    font-size: 0.97rem;
    padding: 8px 9px;
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 7vw 12px 6vw;
    font-size: 0.98rem;
  }
  .cookie-banner-message { font-size: 0.96rem; }
  .cookie-modal-content { padding: 22px 7vw 18px 7vw; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1rem;
  }
  .cookie-modal-content { min-width: 0; }
}

/* === FOCUS STATES === */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 3px dashed var(--accent);
  outline-offset: 2px;
}

/* === CUSTOM SCROLLBAR (PLAYFUL) === */
::-webkit-scrollbar {
  width: 13px;
  background: #F6F8FB;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  scrollbar-color: var(--secondary) #F6F8FB;
  scrollbar-width: thin;
}

/* === OVERRIDES/UTILITIES === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 32px !important; }
.mb-4 { margin-bottom: 40px !important; }

/* === FUN FONT FALLBACKS === */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

/* === ACCESSIBILITY: HIDE ELEMENTS === */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px) !important;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}
