.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card svg {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.trainer-spotlight-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  min-width: 0;
}

.trainer-spotlight-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.trainer-spotlight-card .body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.trainer-spotlight-card .body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.trainer-spotlight-card .body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.trainer-spotlight-card .body .cta-btn {
  margin-top: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.carousel-strip {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 6px 2px 12px;
}

.carousel-strip .carousel-track {
  gap: 16px;
}

.carousel-strip .carousel-slide {
  min-width: calc(100% - 40px);
  padding: 0;
}

@media (min-width: 640px) {
  .carousel-strip .carousel-slide {
    min-width: calc(50% - 12px);
  }
}

@media (min-width: 1100px) {
  .carousel-strip .carousel-slide {
    min-width: calc(25% - 12px);
  }
}

.testimonials-carousel .carousel-slide {
  display: flex;
  justify-content: center;
}

.testimonials-carousel .testimonial-card {
  max-width: min(720px, 100%);
  margin-inline: auto;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.testimonial-card > div:last-child {
  min-width: 0;
}

.testimonial-card p {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Initialen-Avatare (keine Fotos — klar abgrenzbar von Trainer- und Galeriebildern) */
.testimonial-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, "Nunito", system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15, 35, 55, 0.18);
}

.testimonial-avatar--warm {
  background: linear-gradient(145deg, #c94b4b 0%, #f0a050 100%);
}

.testimonial-avatar--cool {
  background: linear-gradient(145deg, #1a5f7a 0%, #3ecfff 100%);
}

.testimonial-avatar--violet {
  background: linear-gradient(145deg, #4c3f69 0%, #9b7ed9 100%);
}

.testimonial-avatar--forest {
  background: linear-gradient(145deg, #143d32 0%, #3d9b6e 100%);
}

.masonry {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
  }

  .masonry .m-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .masonry .m-item:nth-child(4) {
    grid-column: span 2;
  }
}

.m-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.m-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
  transition: transform 0.5s ease;
}

.m-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 180;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1.4rem;
  cursor: pointer;
}

.newsletter-box {
  background: linear-gradient(120deg, #071428, #0f2744);
  color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.newsletter-box::after {
  content: "";
  position: absolute;
  inset: 10% auto auto 55%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 65%);
  pointer-events: none;
}

.newsletter-box form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-box input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
}

/* Erfolgsmeldung immer unter E-Mail + Button, nicht daneben */
.newsletter-box form .success-banner {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.article-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card .body {
  padding: 18px;
}

.accordion-item {
  border: 1px solid #e3e8f0;
  border-radius: var(--border-radius);
  background: var(--color-white);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: var(--color-white);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.accordion-panel {
  padding: 0 18px 18px;
  display: none;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.sport-showcase-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .sport-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .sport-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sport-tile {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.sport-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sport-tile .body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.detail-hero {
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 10, 20, 0.9));
}

.detail-hero .inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 32px;
  color: var(--color-white);
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
