/* CSS Variables */
:root {
  --primary-color: #00bfff;
  --secondary-color: #00ff88;
  --primary-light: rgba(0, 191, 255, 0.1);
  --secondary-light: rgba(0, 255, 136, 0.1);
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  --bg-primary: #ffffff;
  --bg-secondary: #f8fdff;
  --bg-tertiary: #f9fffe;

  --text-primary: #1a202c;
  --text-secondary: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;

  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s ease;
  --font-primary: "Lexend", sans-serif;
  --font-heading: "Afacad", sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 50px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo h2 {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-size: 1.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav li {
  margin: 0;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  margin-left: 1rem;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sport Types Grid */
.sport-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sport-type {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.sport-type:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.sport-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sport-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Quiz Section */
.quiz-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

/* Quiz Start */
.quiz-start {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-intro h2 {
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.quiz-intro p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.quiz-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.benefit-icon {
  font-size: 1.2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.benefit span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

/* Quiz Container */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-progress {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 100%;
}

.progress-bar {
  width: 100%;
  height: 12px; /* Dickere Progress-Bar */
  background: rgba(0, 191, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.1rem; /* Größere Schrift */
}

/* Question Styles */
.question {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.question h3 {
  margin-bottom: 2rem;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.answer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: auto;
  overflow: hidden;
}

.answer:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
}

.answer.selected {
  background: var(--primary-light);
  border-color: var(--primary-color);
}

.answer-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 20px;
  min-height: 20px;
}

.answer.selected .answer-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
}

.answer-text {
  flex: 1;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.4;
  min-width: 0; /* Verhindert Flex-Item-Überlauf */
  max-width: 100%;
}

.answer-label {
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Quiz Navigation */
.quiz-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  gap: 1rem;
}

/* Email Form */
.email-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-container {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0, 191, 255, 0.2);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
  max-width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0;
  text-align: left;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.privacy-notice input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.privacy-notice label {
  font-size: 0.9rem;
  color: var(--text-muted);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

/* Quiz Result */
.quiz-result {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-container {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.result-header {
  margin-bottom: 2rem;
  width: 100%;
  text-align: center;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.result-content {
  text-align: left;
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
}

.result-description {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}

.result-description h4 {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

.result-description ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.result-description li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  width: 100%;
}

.result-description li:before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.result-cta {
  background: var(--primary-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--bg-tertiary);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  width: 100%;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fitness-collage {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.fitness-collage:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-content p {
  color: var(--text-light);
  margin: 0;
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.success-stat {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.success-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.success-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-brand h3 {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.footer-brand p {
  color: rgba(0, 0, 0);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section a {
  display: block;
  color: rgba(0, 0, 0);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section p {
  color: rgba(0, 0, 0);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(0, 0, 0);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .sport-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .success-stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .result-actions {
    flex-direction: column;
  }

  .quiz-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav.mobile-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: var(--shadow);
    gap: 1rem;
  }

  .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  }

  .logo-image {
    height: 45px;
  }

  .logo h2 {
    font-size: 1.5rem;
  }

  .footer-logo-image {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 100px 0 60px;
  }

  .sport-types-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .form-container {
    padding: 2rem;
  }

  .question {
    padding: 1.5rem;
  }

  .logo-image {
    height: 50px;
  }

  .logo h2 {
    font-size: 1.3rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .footer-logo-image {
    height: 40px;
  }

  .footer-logo {
    gap: 0.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question {
  animation: fadeIn 0.5s ease-out;
}

.sport-type:hover {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* === Quiz Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-overlay.is-open {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

.modal {
  position: relative;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border-radius: 20px 20px 0 0;
}

.modal-title {
  margin: 0 40px 0.5rem 0;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.modal-subtitle {
  margin: 0;
  color: var(--text-light);
  font-size: 1rem;
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 200px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

body.modal-open {
  overflow: hidden;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}

.modal-body .quiz-section {
  padding: 0;
  background: transparent;
}

.modal-body .quiz-start,
.modal-body .quiz-container,
.modal-body .email-form,
.modal-body .quiz-result {
  max-width: none;
  margin: 0;
}

.modal-body .form-container,
.modal-body .result-container {
  box-shadow: none;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .modal {
    width: 98%;
    max-height: 95vh;
    margin: 10px;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
    margin-right: 30px;
  }

  .modal-close {
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .modal-header {
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay.is-open {
    animation: none;
  }

  .modal {
    transform: none;
    transition: none;
  }
}


/* === Hero Video Embed === */
.hero-video .video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.hero-video .video-embed iframe,
.hero-video .video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Die 6 Sporttypen – Flip Boxes === */
.gallery-item {
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden; /* Verhindert, dass Icons aus der Box rausschauen */
}
.gallery-item:hover {
  transform: scale(1.05);
  z-index: 20;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.gallery-item.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Zusätzlicher Schutz */
}
.card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.8), rgba(0, 255, 136, 0.8));
  border-radius: 1rem;
  z-index: 1;
}
.gallery-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.card-back {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.95), rgba(0, 255, 136, 0.95));
  transform: rotateY(180deg);
  text-align: left;
  justify-content: flex-start;
  padding: 2rem;
}

/* Spezifische Größenanpassung für img-Icons in Ausdauer und Mind-Body Boxen */
.gallery-content img[src*="Läufer.svg"],
.gallery-content img[src*="Mind-Body.svg"] {
  width: 4rem !important; /* 64px - gleiche Größe wie SVG-Icons */
  height: 4rem !important;
  max-width: 4rem !important;
  max-height: 4rem !important;
}

/* Responsive Anpassungen für die img-Icons */
@media (max-width: 992px) {
  .gallery-content img[src*="Läufer.svg"],
  .gallery-content img[src*="Mind-Body.svg"] {
    width: 3.5rem !important; /* 56px */
    height: 3.5rem !important;
    max-width: 3.5rem !important;
    max-height: 3.5rem !important;
  }
}

@media (max-width: 600px) {
  .gallery-content img[src*="Läufer.svg"],
  .gallery-content img[src*="Mind-Body.svg"] {
    width: 3rem !important; /* 48px */
    height: 3rem !important;
    max-width: 3rem !important;
    max-height: 3rem !important;
  }
}

/* Minimal utility classes used in provided code */
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gap-8 { gap: 2rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Responsive sizing - Verbesserte Größenbegrenzungen */
@media (max-width: 992px) {
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { 
    height: 280px; 
    min-height: 280px; /* Mindesthöhe */
  }
  .gallery-content {
    padding: 0.75rem;
  }
  .card-front, .card-back {
    padding: 1.25rem;
  }
}
@media (max-width: 600px) {
  .grid-cols-3 { grid-template-columns: 1fr; }
  .gallery-item { 
    height: 240px; 
    min-height: 240px; /* Mindesthöhe */
  }
  .gallery-content {
    padding: 0.5rem;
  }
  .card-front, .card-back {
    padding: 1rem;
  }
}

.sporttypen-section { padding: 60px 0; background: var(--bg-primary); }
.sporttypen-section .section-header { 
  margin-bottom: 24px; 
  text-align: center;
}



/* === Unify section vertical paddings === */
.time-section { padding: 80px 0; }
.time-section .section-header { 
  text-align: center;
}

/* Zentrierung des Textes unter DEIN TAG */
.time-text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.time-text-content p {
  margin-bottom: 1.5rem;
}

.time-text-content .highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Dickere Progress-Bars und größere Zahlen */
.time-distribution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.time-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.time-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.time-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.time-percent {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.time-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.time-progress {
  width: 100%;
  height: 16px; /* Dickere Progress-Bar */
  background: rgba(0, 191, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.time-progress .progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 8px;
  transition: width 0.3s ease;
}

.sporttypen-section { padding: 80px 0; } /* was 60px */

/* === Wer wir sind - Gründer Grid === */
.who-section { 
  padding: 80px 0; 
  background: var(--bg-secondary);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.who-text {
  padding-right: 2rem;
  text-align: left; /* Linksbündiger Text */
  margin-top: 0; /* Entfernt zusätzlichen Abstand zur Überschrift */
  padding-left: 0; /* Entfernt linke Einrückung */
  margin-left: 0; /* Entfernt linken Margin */
}

.who-text p {
  margin-bottom: 1rem; /* Einheitlicher Abstand zwischen den Absätzen */
}

.who-text p:first-child {
  margin-top: 0; /* Erster Absatz direkt unter der Überschrift */
}

.who-text .cta-box {
  text-align: left; /* Button linksbündig ausrichten */
  margin-left: 0; /* Entfernt linken Margin */
}

.who-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.founder-image-box {
  width: 300px;
  height: 300px;
  border: 3px solid var(--primary-color); /* Durchgehender Rand statt gestrichelt */
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.founder-image-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.founder-image-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 191, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.founder-image-box:hover::before {
  opacity: 1;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.founder-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.founder-text {
  text-align: center;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.founder-subtext {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.founder-preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  display: none;
}

.founder-image-box.has-image .founder-content {
  display: none;
}

.founder-image-box.has-image .founder-preview-image {
  display: block;
}

/* Responsive Design für Gründer Grid */
@media (max-width: 992px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .who-text {
    padding-right: 0;
    text-align: center;
  }
  
  .who-images {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .founder-image-box {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .who-images {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .founder-image-box {
    width: 220px;
    height: 220px;
  }
  
  .founder-icon {
    width: 60px;
    height: 60px;
  }
  
  .founder-text {
    font-size: 16px;
  }
  
  .founder-subtext {
    font-size: 12px;
  }
}

/* === Responsive Quiz Styles === */
@media (max-width: 768px) {
  /* Quiz Container */
  .quiz-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    width: calc(100% - 1rem);
  }
  
  /* Quiz Start */
  .quiz-start {
    padding: 0 0.5rem;
    max-width: 100%;
    width: calc(100% - 1rem);
  }
  
  .quiz-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 0;
    width: 100%;
  }
  
  .quiz-intro p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0;
    width: 100%;
  }
  
  .quiz-benefits {
    margin: 1.5rem 0;
    padding: 0;
    width: 100%;
  }
  
  .benefit {
    padding: 0.75rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
  }
  
  .benefit span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  
  /* Quiz Progress */
  .quiz-progress {
    margin-bottom: 2rem;
    padding: 0;
    width: 100%;
  }
  
  .progress-text {
    font-size: 1rem;
  }
  
  /* Questions */
  .question {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .question h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  
  /* Answers */
  .answers {
    padding: 0;
    width: 100%;
  }
  
  .answer {
    padding: 1rem;
    gap: 0.75rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .answer-radio {
    width: 18px;
    height: 18px;
    margin-top: 0;
    flex-shrink: 0;
  }
  
  .answer.selected .answer-radio::after {
    width: 8px;
    height: 8px;
  }
  
  .answer-text {
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    width: 100%;
  }
  
  /* Quiz Navigation */
  .quiz-navigation {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-freundlich */
  }
  
  /* Email Form */
  .email-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    width: calc(100% - 1rem);
  }
  
  .form-container {
    padding: 2rem 1rem;
    width: 100%;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
    width: 100%;
  }
  
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }
  
  .form-group input {
    padding: 0.875rem;
    font-size: 1rem;
    min-height: 44px; /* Touch-freundlich */
    width: 100%;
  }
  
  .privacy-notice {
    margin: 1.25rem 0;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .privacy-notice label {
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    width: 100%;
  }
  
  /* Quiz Result */
  .quiz-result {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    width: calc(100% - 1rem);
  }
  
  .result-container {
    padding: 2rem 1rem;
    width: 100%;
  }
  
  .result-header {
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .result-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
  }
  
  .result-content {
    margin: 1.5rem 0;
    width: 100%;
  }
  
  .result-actions {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
  }
  
  .result-actions .btn-primary,
  .result-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* Quiz Container */
  .quiz-container {
    padding: 0 0.25rem;
    width: calc(100% - 5.5rem);
  }
  
  /* Quiz Start */
  .quiz-start {
    padding: 0 0.25rem;
    width: calc(100% - 0.5rem);
  }
  
  .quiz-intro h2 {
    font-size: 1.25rem;
    padding: 0;
    width: 100%;
  }
  
  .quiz-intro p {
    font-size: 0.9rem;
    padding: 0;
    width: 100%;
  }
  
  .quiz-benefits {
    padding: 0;
    width: 100%;
  }
  
  .benefit {
    padding: 0.5rem;
    font-size: 0.85rem;
    margin: 0;
    width: 100%;
  }
  
  /* Questions */
  .question {
    padding: 1rem 0.75rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .question h3 {
    font-size: 1.1rem;
    padding: 0;
    width: 100%;
  }
  
  /* Answers */
  .answer {
    padding: 0.75rem;
    margin: 0;
    width: 100%;
  }
  
  .answer-text {
    font-size: 0.85rem;
    width: 100%;
  }
  
  /* Quiz Navigation */
  .quiz-navigation {
    padding: 0;
    width: 100%;
  }
  
  /* Email Form */
  .email-form {
    padding: 0 0.25rem;
    width: calc(100% - 0.5rem);
  }
  
  .form-container {
    padding: 1.5rem 0.75rem;
    width: 100%;
  }
  
  .form-group input {
    padding: 0.75rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  /* Quiz Result */
  .quiz-result {
    padding: 0 0.25rem;
    width: calc(100% - 0.5rem);
  }
  
  .result-container {
    padding: 1.5rem 0.75rem;
    width: 100%;
  }
  
  .result-icon {
    font-size: 2.5rem;
  }
}

/* Touch-optimierte Buttons für mobile Geräte */
@media (hover: none) and (pointer: coarse) {
  .btn-primary,
  .btn-secondary {
    min-height: 48px; /* Größere Touch-Targets */
  }
  
  .answer {
    min-height: 48px; /* Größere Touch-Targets für Antworten */
  }
  
  .answer-radio {
    min-width: 20px;
    min-height: 20px;
  }
}

/* Responsive Design für About Section */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
  }
  
  .about-image {
    order: -1; /* Bild kommt vor dem Text auf kleineren Bildschirmen */
  }
  
  .fitness-collage {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }
  
  .about-grid {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .about-text {
    gap: 1.5rem;
  }
  
  .features {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .feature {
    gap: 0.75rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
  
  .fitness-collage {
    max-width: 100%;
    border-radius: var(--border-radius);
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 40px 0;
  }
  
  .about-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .about-text {
    gap: 1rem;
  }
  
  .features {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .feature {
    gap: 0.5rem;
  }
  
  .feature-icon {
    font-size: 1.25rem;
  }
  
  .fitness-collage {
    border-radius: var(--border-radius);
  }
}

